Two trains A and B simultaneously start moving along parallel tracks from a station along same direction. A starts with constant acceleration 2 m/s2 from rest while B with the same acceleration but with initial velocity of 40 m/s. Twenty seconds after the start, passenger of A hears whistle of B. If frequency of whistle is 1194 Hz and velocity of sound in air is 322 m/s, then the frequency observed by the passenger is