Consecutive (#541) - Azerbaijan Computing Olympiad