#include <stdio.h>
//パスカル三角形
int comb(int n,int r){
if(r==0||n==r){
return 1;
}
else{
return comb(n-1,r-1)+comb(n-1,r);
}
}
int path(int x,int y){
if(x==0&&y==0){
return 0;
}
else{
return comb(x+y,y);
}
}
int main(){
int x,y;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgovL+ODkeOCueOCq+ODq+S4ieinkuW9ogppbnQgY29tYihpbnQgbixpbnQgcil7CiAgICBpZihyPT0wfHxuPT1yKXsKICAgICAgICByZXR1cm4gMTsKICAgIH0KICAgIGVsc2V7CiAgICAgICAgcmV0dXJuIGNvbWIobi0xLHItMSkrY29tYihuLTEscik7CiAgICB9Cn0KCmludCBwYXRoKGludCB4LGludCB5KXsKICAgIGlmKHg9PTAmJnk9PTApewogICAgICAgIHJldHVybiAwOwogICAgfQogICAgZWxzZXsKICAgICAgICByZXR1cm4gY29tYih4K3kseSk7CiAgICB9Cn0KaW50IG1haW4oKXsKICAgIGludCB4LHk7CiAgICBzY2FuZigiJWQgJWQiLCZ4LCZ5KTsKICAgIHByaW50ZigiJWRcbiIscGF0aCh4LHkpKTsKCiAgICByZXR1cm4gMDsKfQo=