#P171D. Broken checker

    ID: 2344 Type: RemoteJudge 2000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>*special problembrute force*1300

Broken checker

No submission language available for this problem.

Description

"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.

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.

The only line of the output contains an integer between 1 and 3, inclusive.

Input

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.

Output

The only line of the output contains an integer between 1 and 3, inclusive.

Note

This problem has no samples, since there so few test cases.