#include <stdio.h>
int kaijo (int x){
if(x==1 || x==0){
return x;
}else{
x=x*kaijo(x-1);
return x;
}
}
int main(){
for (int i=1;i<=10;i++){
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBrYWlqbyAoaW50IHgpewogICAgaWYoeD09MSB8fCB4PT0wKXsKICAgICAgICByZXR1cm4geDsKICAgIH1lbHNlewogICAgICAgIHg9eCprYWlqbyh4LTEpOwogICAgICAgIHJldHVybiB4OwogICAgfQp9CgppbnQgbWFpbigpewogICAgZm9yIChpbnQgaT0xO2k8PTEwO2krKyl7CiAgICAgICAgcHJpbnRmKCIlZCElZFxuIixpLGthaWpvKGkpKTsKICAgIH0KICAgIHJldHVybiAwOwogICAgCn0=