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