# フィボナッチ数列を作るのが鍵となる

fivarray = [1,1,2,3,5,8,13,21,34,55]

h,w,k = gets.split.map(&:to_i)

arr = Array.new(h+1).map{Array.new(w,0)}

arr[0][0] = 1

i = 0

(h*w).times{
    
    
    syou = i/w+1
    amari = i%w
    

    
    arr[syou][amari]+=fivarray[amari]*fivarray[w-amari-1]*arr[syou-1][amari]
    
    if amari>0
    arr[syou][amari]+=fivarray[amari-1]*fivarray[w-amari-1]*arr[syou-1][amari-1]
    end
    
    if amari<w-1
    arr[syou][amari]+=fivarray[amari]*fivarray[w-amari-2]*arr[syou-1][amari+1]
    end
    
  i+=1  
 
}

p arr[-1][k-1]%1000000007




