using System;
public class Program
{
public static void Main()
Console.WriteLine("mutq n");
int n = int.Parse(Console.ReadLine());
int jam = n / 3600;
int rope = n / 60 % 60;
int vrk = n % 60;
Console.WriteLine("ancel e " + jam +"jam" + rope + "rope" + vrk + "varkyan");
}