import java.util.Scanner // fun _Do() { val T = scan.next()// 1- val hh = T.substring(0, 2).toInt() val mm = T.substring(3, 5).toInt() val new_mm = (mm + 5) % 60 val new_hh = (hh + 1) % 24 System.out.printf("%02d",new_hh) print(":") System.out.printf("%02d",new_mm) } var scan = Scanner(System.`in`) fun main( argv : Array ) { _Do() } fun strings(N:Int):Array = Array(N,{scan.next()}) fun ints(N:Int):Array = Array(N,{scan.nextInt()}) fun longs(N:Int):Array = Array(N,{scan.nextLong()})