package main import "fmt" func main() { var H, M int fmt.Scanf("%d:%d", &H, &M) M += 5 H += M / 60 M %= 60 H %= 24 fmt.Printf("%02d:%02d", H, M) }