171D.md (818B)
1 Source: https://codeforces.com/problemset/problem/171/D 2 3 D. Broken checker 4 5 time limit per test 6 7 2 seconds 8 9 memory limit per test 10 11 256 megabytes 12 13 input 14 15 stdin 16 17 output 18 19 stdout 20 21 "This problem is rubbish! There is not statement, and there are only 5 test cases. The problemsetter took liberties with this problem!" — people complained in the comments to one round on Codeforces. And even more... No, wait, the checker for the problem was alright, that's a mercy. 22 23 Input 24 25 The only line of the input contains an integer between 1 and 5, inclusive. All tests for this problem are different. The contents of the test case doesn't need to be equal to its index. 26 27 Output 28 29 The only line of the output contains an integer between 1 and 3, inclusive. 30 31 Examples 32 33 Note 34 35 This problem has no samples, since there so few test cases.