A ball of mass 50 g is dropped from a height of 20 m.A boy on the ground hits the ball vertically upwards with a bat with an average force of 200 N, so that it attains a vertical height of 45 m. The time for which the ball remains in contact with the bat is [Take g= 10 m/s2]