/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Scanner a
= new Scanner
(System.
in); var time = a.nextInt();
int second = time % 60;
int minute = time / 60 % 60;
int hour = time / 60 / 60;
System.
out.
print(time
+ "초는 " + hour
+ "시간, " + minute
+ "분, "); System.
out.
print(second
+ "초입니다.");
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNjYW5uZXIgYSA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJdmFyIHRpbWUgPSBhLm5leHRJbnQoKTsKCQlpbnQgc2Vjb25kID0gdGltZSAlIDYwOwoJCWludCBtaW51dGUgPSB0aW1lIC8gNjAgJSA2MDsKCQlpbnQgaG91ciA9IHRpbWUgLyA2MCAvIDYwOwoJCQoJCVN5c3RlbS5vdXQucHJpbnQodGltZSArICLstIjripQgIiArIGhvdXIgKyAi7Iuc6rCELCAiICsgbWludXRlICsgIuu2hCwgIik7CgkJU3lzdGVtLm91dC5wcmludChzZWNvbmQgKyAi7LSI7J6F64uI64ukLiIpOwoJCQoJfQp9