Let the height where we are trapped is H
now to find the time to reach the key at the bottom is given as
[tex]y = v_i t + \frac{1}{2}at^2[/tex]
now we have
[tex]H = \frac{1}{2}gt^2[/tex]
[tex]t = \sqrt{\frac{2H}{g}}[/tex]
now if the speed of sound is considered to be 340 m/s then time taken by the sound to reach at the top is given as
[tex]t = \frac{H}{340}[/tex]
now the total time is given as
[tex]\sqrt{\frac{2H}{g}} + \frac{H}{340} = 3.27[/tex]
now by solving above equation we have
H = 48 m
now height of one floor is 3 m
so our position must be
[tex]N = \frac{48}{3} = 16 th \:floor[/tex]