This is an interactive problem a contest with an unusual start time.
You are given a Codeforces account and $$$n = 6$$$ problems, authored and prepared by qwexd and jeroenodb.
In one operation, you may choose a problem $$$i$$$ ($$$1 \le i \le n$$$) and submit a program intended to solve it.
The maximum scores are given below. Problem E is divided into two subtasks.
| Problem | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| Maximum score | 500 | 1250 | 1500 | 2500 | 2000 + 1500 | 3000 |
The points awarded for a correct submission may be lower, as determined by the Codeforces scoring rules.
Your task is to maximize your total score before the time limit expires.
The input consists of the problemset of Codeforces Round 1121 (Div. 2). It will become available on Sep/13/2026 20:05 (Moscow time).
The round will be rated for participants with a rating below 2100. Participants with a rating of 2100 or higher are welcome to participate out of competition.
For each problem you choose to solve, submit a correct program. You may solve the problems in any order.
Printing YES is not sufficient.
We would like to thank:
- Proof_by_QED for coordinating the round;
- Um_nik for the preliminary review;
- Alexdat2000 for translating the statements to Russian;
- our testers: __baozii__, nifeshe, Noobish_Monk, fuad720, temporary1, turska, Rayo, shorya1835, cry, TAhmed33, Rvess, omsincoconut, flammifer, robert9524, ismailfateen, osvarp, samsoom, Nyemot, SpyrosAliv, Sacha, Argentum47, snowythecat, EduardoBrito, wakanda-forever, linearspace, chromate00, simplelife, Vespasian_1, nik_exists, Svivl, ALnQ417, and HobVIIb1 for testing the round and providing valuable feedback;
- our testers who didn't test: _istil, Arpa, sammyuri, AksLolCoding, BLOBVISGOD, sorry12000, naneosmic, Euclid73, i-love-ayase-momo, and ArnedeB;
- KAN and MikeMirzayanov for Codeforces and Polygon;
- you, for participating in the round.
It can be shown that every problem has a solution. The proofs will be published after the contest.
Good luck and have fun!










