Write a program that accepts a time as an hour and minute