P23597 [AtCoder] Pi Digits
提高-
题目描述

Problem Description

Given a number \( N \), determine the position of \( N \) in the decimal part of Pi. Here, 3 is considered to be at the 0th digit after the decimal point.

Input Format

The input is given from the standard input in the following format:

\( N \)

  • The first line contains a single character, \( N \), which is a half-width digit.

Output Format

Output a single line indicating the position of \( N \) in the decimal part of Pi. Ensure a newline at the end of the output.

Sample Input and Output

Sample Input #1

0

Sample Output #1

32

Sample Input #2

1

Sample Output #2

1

Sample Input #3

2

Sample Output #3

6

Sample Input #4

3

Sample Output #4

0

Notes/Hints

None

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
0
样例输出
32