#include <stdio.h>
int hoge(int n){
if(n<=0){
return 0;
}
else{
return (hoge(n-1)+1)%10;
}
}
int main(void) {
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgaG9nZShpbnQgbil7CglpZihuPD0wKXsKCQlyZXR1cm4gMDsKCX0KCWVsc2V7IAoJCXJldHVybiAoaG9nZShuLTEpKzEpJTEwOwoJfQp9CmludCBtYWluKHZvaWQpIHsKcHJpbnRmKCIlZCIsaG9nZSgyMDIxKSk7CglyZXR1cm4gMDsKfQo=