#K66397. Time Conversion
Time Conversion
Time Conversion
This problem requires you to convert a given number of minutes into hours and minutes. Given an integer \(m\) representing the number of minutes, calculate the number of hours and the remaining minutes. Formally, let \(X = \lfloor m/60 \rfloor\) and \(Y = m \bmod 60\). The output should be in the format "X hour(s) and Y minute(s)".
For example, if the input is 130, the output should be "2 hour(s) and 10 minute(s)".
inputFormat
The input consists of a single integer, (m), provided via standard input (stdin), which represents the number of minutes.
outputFormat
Output a single line to standard output (stdout) with the converted time in the format "X hour(s) and Y minute(s)".## sample
130
2 hour(s) and 10 minute(s)