#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <locale.h>



int main(){
	setlocale(LC_ALL, "rus");
	system("color 2");
	int x, y, z, i = 0;
	for (x = 0; x <= 10000; x++){
		for (y = 0; y <= 10000; y++){
			for (z = 0; z <= 10000; z++){
				i = 100 * x + 3113 * y - 117 * z;
				if (i == 0) printf("Число x = %d, число y = %d, число  = %d\n", x, y, z);
			}
		}
	}
}




