This is Hacker earth soln to Bitwise shift