Otherwise , recursively call by decrementing 3 ^ i at each step
return ( canReach ( X - int ( pow ( 3 , steps ) ) , Y , steps + 1 ) | canReach ( X , Y - int ( pow ( 3 , steps ) ) , steps + 1 ) ) NEW_LINE