bob is playing a game hackerearth solution