All code for hackerrank problem goes here.