Check if initially all the coins are facing towards tail
else if ( s == ' T ' ) { p = new Pair < Integer , Integer > ( ( int ) Math . ceil ( N / 2.0 ) , ( int ) Math . floor ( N / 2.0 ) ) ; } return p ; }