Results 2 issues of xgerasimos

I set the initial value of the maximum variable to the minimum integer value. This way, the if condition inside the loop becomes unnecessary in each iteration.

When the value of variable m is 1, we should express it as "one minute" instead of "one minutes."