What condition is necessary for a glacier to form?

A.more snow falling than snow melting
B.a valley to accumulate ice
C.steep slopes for ice to flow down
D.more rain falling than ice melting

A.more snow falling than snow melting