A measurement of 14565 ft can be converted to A miles, B yards, C feet. Find A, B, and C.

The answer the teacher posted was:
A= 2
B= 1335
C= 0

But I'm not quite sure how she got that answer. Can anyone help me out? :)