print 'How many seconds?' n = input() print n, 'seconds is', n / 3600, 'hours and', (n / 60) % 60, 'minutes and', n % 60, 'seconds'