#include #include using namespace std; typedef long long ll; typedef vector vl; const ll mod=1e9+7; ll n,l,r; int main(){ cin>>n>>l>>r; vl dp(n); dp[0]=1; ll x=2,res=0; if(!l){ res=n-1; for(int i=1;i