#include typedef long long ll; ll m=1e9+7,f[1<<21],n,k,t,s,u,e;char c; ll r(ll v){for(e=m-2,s=1,u=v%m;e;u=u*u%m,e/=2)if(e%2)s=s*u%m;return s;} ll b(ll n,ll k){return n=k?f[n]*r(f[n-k])%m:0))scanf("%*[\n]%c(%lld,%lld)",&c,&n,&k);}