For how many integer values of M is M/30 strictly between 1/3 and 5/3?
1/3 < M/30<5/3
Multiply by 30
10
M is from 11 - 49 inclusive, 49 - 11 + 1 = 39 integer values of M