#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
cout << n * 13 / 24 << " " << n / 6 << " " << n * 7 / 24;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbjsKCWNpbiA+PiBuOwoJY291dCA8PCBuICogMTMgLyAyNCA8PCAiICIgPDwgbiAvIDYgPDwgIiAiIDw8IG4gKiA3IC8gMjQ7CglyZXR1cm4gMDsKfQ==