#include <iostream>
using namespace std;

int main() {
	int n;
	cin >> n;
	cout << n * 13 / 24 << " " << n / 6 << " " << n * 7 / 24;
	return 0;
}