Gina is buying bags of apples at the grocery store. Each bag of apples has five apples in it. Which equation shows the relationship between the number of apples, y, and the number of bags, x.

A.y=5x
B.y=x+5
C.y=1/5x
D.y=x-5