a = gets.to_i print format("%d:%02d", (a / 100 + 10), (a % 100 * 6 / 10))