Central heating (#532) - Azerbaijan Computing Olympiad