SRM 436 DIV 1 Easy - BestView: Accepted