Problem 495 time limit
Template for measure speed