Jim and the Skyscrapers (#542) - Azerbaijan Computing Olympiad