LearnPy Hub
← Arena
EasyRating 800

Bottom of the Die

On a normal die, opposite faces add up to 7. Given the number on top, print the number on the bottom.

Input

One integer t (1 ≤ t ≤ 6).

Output

One integer.

Sample 1

Input
1
Output
6

Sample 2

Input
6
Output
1
solution.py
Output appears here
Bottom of the Die · Python Arena problem · LearnPy Hub