TIME IN WORDS
Given a time in numbers we can convert it into words. For example
5 : 00 Five o'clock
5 : 10 Ten minutes past Five
5 : 15 Quarter past Five
5 : 30 Half past Five
5 : 40 Twenty minutes to Six
5 : 45 Quarter to Six
5 : 47 Thirteen minutes to Six
Write a program which first inputs two integers, the first between 1 to 12 (both inclusive) and second between 0 to 59 (both inclusive) and prints out the time they represent, in words. Your program should follow the format of the examples above.
SAMPLE DATA :
Input Time : 3,0
Output 3 : 00 Three o'clock
Input Time : 7,29
Output 7 : 29 Twenty nine minutes past Seven
Input Time : 6,34
Output 6 : 34 Twenty six minutes to Seven
Input Time : 12,1
Output 12 : 01 One minute past Twelve
Input Time : 12,45
Output 12 : 45 Quarter to one
Input Time : 10,59
Output 10 : 59 One minutes to Eleven
Input Time : 14,60
Output Incorrect input
Test your program for the data values given in the examples above and some random data.