import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main
{
{
String[] params1
= bufferedReader.
readLine().
split(" "); int n
= Integer.
parseInt(params1
[0]); System.
out.
printf("%d %d %d", n
* 13 / 24, n
/ 6, n
* 7 / 24); }
}
aW1wb3J0IGphdmEuaW8uQnVmZmVyZWRSZWFkZXI7CmltcG9ydCBqYXZhLmlvLklucHV0U3RyZWFtUmVhZGVyOwogCmNsYXNzIE1haW4KewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJQnVmZmVyZWRSZWFkZXIgYnVmZmVyZWRSZWFkZXIgPSBuZXcgQnVmZmVyZWRSZWFkZXIobmV3IElucHV0U3RyZWFtUmVhZGVyKFN5c3RlbS5pbikpOwoJCVN0cmluZ1tdIHBhcmFtczEgPSBidWZmZXJlZFJlYWRlci5yZWFkTGluZSgpLnNwbGl0KCIgIik7CgkJaW50IG4gPSBJbnRlZ2VyLnBhcnNlSW50KHBhcmFtczFbMF0pOwoJCVN5c3RlbS5vdXQucHJpbnRmKCIlZCAlZCAlZCIsIG4gKiAxMyAvIDI0LCBuIC8gNiwgbiAqIDcgLyAyNCk7Cgl9Cn0=