#include <stdio.h>
int main()
{
int m, n, i, p = 1;
for (i = m - n + 1; i <= m; i++) {
p *= i;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKCWludCBtLCBuLCBpLCBwID0gMTsKCglwcmludGYoIm09XG4iKTsKCXNjYW5mKCIlZCIsICZtKTsKCXByaW50Zigibj1cbiIpOwoJc2NhbmYoIiVkIiwgJm4pOwoJZm9yIChpID0gbSAtIG4gKyAxOyBpIDw9IG07IGkrKykgewoJCXAgKj0gaTsKCX0KCXByaW50ZigicD0lZFxuIiwgcCk7CglyZXR1cm4gMDsKfQo=