#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pb push_back
#define fi first
#define se second
typedef pair<ll,ll> P;
#define Mod 1000000007
using VP = vector<P>; using VVP = vector<VP>;
using VI = vector<ll>; using VVI = vector<VI>; using VVVI = vector<VVI>;
#define INF 1ll<<59


int main(){
  ll i,j;
  ll h,w,k;
  cin>>h>>w>>k;

  ll c[w+1];
  c[0]=1;
  c[1]=1;
  for(i=2;i<=w;i++){
    c[i]=c[i-2]+c[i-1];
  }

  VVI dp(h+1,VI(w+2,0));
  dp[0][1]=1;
  for(i=1;i<=h;i++){
    for(j=1;j<=w;j++){
      dp[i][j]+=dp[i-1][j-1]*c[max(0ll,j-2)]*c[max(0ll,w-j)];
      dp[i][j]%=Mod;
      dp[i][j]+=dp[i-1][j]*c[max(0ll,j-1)]*c[max(0ll,w-j)];
      dp[i][j]%=Mod;
      dp[i][j]+=dp[i-1][j+1]*c[max(0ll,j-1)]*c[max(0ll,w-j-1)];
      dp[i][j]%=Mod;
    }
  }

  cout<<dp[h][k]<<endl;


  

  return 0;
}
