divide 400 by 7. You get 1 as a remainder. now subtract one from 400 to get the greatest number less than 400 which is divisible by 7.
Now consider multiples of 7*1=7 is the 1st
similarly 7*2=14 is the 2nd
if their are n numbers than 7*n=399
u get n =57 which is the answer