#include <stdio.h>
#include <stdlib.h>

int main(void){
	int x;
	int y;
	int temp;
	printf("Rentrer deux entier: ");
	scanf("%d %d",&x,&y);
	while(y!=0){
		temp=y;
		y=x%y;
		x=temp;
	}
	printf("%d",x);
	return EXIT_SUCCESS;
}


