*R.....*** LeftDistance: 2 RightDistance: 4 stepsTaken: 2 Coins: 0 R......*** LeftDistance: 1 RightDistance: 6 stepsTaken: 3 Coins: 1 .......R** LeftDistance: 9999999 RightDistance: 7 stepsTaken: 10 Coins: 2 ........R* LeftDistance: 7 RightDistance: 1 stepsTaken: 11 Coins: 3 .........R LeftDistance: 8 RightDistance: 1 stepsTaken: 12 Coins: 4 12 4