This is an interactive problem.
You like taking tests, don't you?
The test consists of a list of $$$n$$$ questions, each with two possible answers, and exactly one of them is correct. After completing the test, you receive a mark, with the following grading system:
Marks $$$3, 4, 5$$$ are considered satisfactory.
You can take the test a maximum of $$$3$$$ times.
Pass the test with a satisfactory mark!
The first line contains a single integer $$$n$$$ ($$$1 \le n \le 100$$$) – the number of questions in the test.
After you have read $$$n$$$, you can start an attempt. To do this, print: "Start test" on a new line.
Once the attempt has started, questions will be presented to you. Each question consists of three lines. The first line contains the description of the question, the second – the first answer option, and the third – the second answer option. For each question, you must print on a new line "A", if you choose the first answer option, or "B", if the second.
Please note that you will only receive the next question after you have selected an option for the current one. After you answer the $$$n$$$-th question, you need to read a line – the result for the current attempt, the line has the format "Your result: mark". If this mark is satisfactory, then you need to do nothing more, and your program should terminate. Otherwise, you can start the next attempt if you have not exceeded the limit.
Please note that you can start an attempt a maximum of $$$3$$$ times. If you exceed the limit of attempts, then the next line you read will be "Attempts exceeded". In such a case, your program must immediately terminate. Also, if you make an incorrect choice or output something that the system does not expect, you will receive "Incorrect output", and your program must terminate.
It is guaranteed that all tests consist only of ASCII characters with codes from $$$32$$$ to $$$126$$$, and that the length of any line does not exceed $$$256$$$ characters.
After any output, do not forget to print a newline and flush the output buffer. Otherwise, you will receive the verdict Idleness limit exceeded. To flush the buffer, use:
5 1) Cats have nine lives? A) YES B) NO 2) Are moles blind? A) YES B) NO 3) Does a fly agaric kill flies? A) YES B) NO 4) Does an octopus have one heart? A) YES B) NO 5) Can turtles cry? A) YES B) NO Your result: 4
Start test B B A B A
2 How much is 2*2+2? 1. 6 2. 8 The minimum of 0 and 1 is 1. 1 2. 0 Your result: 2 How much is 2*2+2? 1. 6 2. 8 The minimum of 0 and 1 is 1. 1 2. 0 Your result: 5
Start test B A Start test A B
| Name |
|---|


