#include <stdio.h>
#include <math.h>

int main(void) {
	int a;
	
	do{
		scanf("%d", &a);
	}while(a<0);
	
	printf("aの値 %d\n",a);
	
	return 0;
}