A tuning fork A of frequency 512 Hz produces 4 beats per second when sounded with a tuning fork B. Due to filing of the prongs of the tuning fork B,the number of the beats per second becomes 6. The actual frequency of B is
(1) 516 Hz
(2) 508 Hz
(3) 512 Hz
(4) none of these