How many times to repeat? (#395) - Azerbaijan Computing Olympiad