#include<iostream>usingnamespace std;intmain(){int n;while(cin >> n){int y =0,sum_xy =0;for(int z =0; z <100;z++){
sum_xy =100-z;for(int x =0; x <= sum_xy; x++){
y = sum_xy - x;if(7*x +4*y ==100){
cout << x <<" "<< y <<" "<< z << endl;}}}}return0;}
c++:#include<iostream>using namespace std;int main(){ int n; while(cin >> n){ int y = 0,sum_xy = 0; for(int z = 0; z < 100;z++){ sum_xy = 100 -z; for(int x = 0; x <= sum_xy; x++){ .