A particle is thrown vertically up with speed u so that distance covered in last second of flight is 35m. If g=10m/s2 then initial speed of throw is