题解 | #放苹果#
放苹果
https://www.nowcoder.com/practice/bfd8234bb5e84be0b493656e390bdebf
def f(x,y):
if x < 0 or y < 0:
return 0
if x == 1 or y == 1:
return 1
else:
return f(x,y-1)+f(x-y,y)
m,n = list(map(int,input().split()))
print(f(m,n))