시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB46438335181.439%

## 문제

Yekaterinburg is a beautiful city founded in the eighteenth century. Your task in this problem is to give us information about the precise year of its foundation.

To make the task less overwhelming, you are only asked to calculate one of the four digits of the year. To indicate the position of the digit you must calculate, digits are numbered between 1 and 4, from the most significant to the least significant. As an example, for the year 2013 digit 1 is “2”, digit 2 is “0”, digit 3 is “1” and digit 4 is “3”.

In case you failed to bring an encyclopedia with you, information about Yekaterinburg may be obtained via a clarification.

## 입력

A single line that contains an integer D (1 ≤ D ≤ 4) indicating the position of the digit you must calculate.

## 출력

Output a line with an integer representing the digit at position D of the year Yekaterinburg was founded.

## 예제 입력 1

1


## 예제 출력 1

1


## 예제 입력 2

2


## 예제 출력 2

7


## 출처

• 문제를 만든 사람: Pablo Ariel Heiber