Clock shows 'h' hours, 'm' minutes and 's' seconds after midnight.
Your task is to make 'Past' function which returns time converted to miliseconds.
Examples
past(0, 1, 1) == 61000
Note! h, m and s will be only Natural numbers!
def past(h, m, s):
pass
def past(h, m, s):
return (h * 3600000) + (m * 60000) + (s * 1000)
def past(h, m, s):
return (3600*h + 60*m + s) * 1000