#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n=0,i=0,j=0,z=0;
	for(i=1;i<99;i++){
		for(j=1;j<99;j++){
			for(z=1;z*3<99;z++){
				if(i+j+z*3==100&&i*5+j*3+z==100){
					cout<<i<<" "<<j<<" "<<z*3<<endl;
				}
			}
		} 
	}
	return 0;
}

/**************************************************************
	Problem: 1022
	User: zzz
	Language: C++
	Result: Accepted
	Time:4 ms
	Memory:2072 kb
****************************************************************/