#include <stdio.h> int main() { int m; scanf("%d",&m); printf("%d(m)=%d(h):%02d(m)",m,m/60,m%60); return 0; }