P25323 [AtCoder] Probability of Participation
普及
题目描述

Problem Description

E869120 is unsure whether to participate in the CODE FESTIVAL qualifiers. After much hesitation, he decides to use a "magic dice" to decide whether to participate or not.
The magic dice is designed to roll integers between 1 and 100 with equal probability.
He rolls the dice once, and if the resulting integer is a multiple of \( N \), he will not participate in the contest. Otherwise, he will participate.
What is the probability (in percent) that he will participate in the contest?

Input Format

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

\( N \)

Output Format

Output the probability (in percent) that E869120 will participate in the CODE FESTIVAL qualifiers as an integer.

Sample Input and Output

Sample Input #1

3

Sample Output #1

67

Sample Input #2

17

Sample Output #2

95

Sample Input #3

57

Sample Output #3

99

Notes/Hints

Constraints

  • \( N \) is an integer between 1 and 100 inclusive.

Sample Explanation 1

If the dice roll is 3, 6, 9, 12, 15, 18, 21, ..., 96, 99, E869120 will not participate in the contest. Otherwise, he will participate. Therefore, the probability that he will not participate is 33%, and the probability that he will participate is 67%.

Sample Explanation 2

If the dice roll is 17, 34, 51, 68, 85, E869120 will not participate in the contest. Otherwise, he will participate. Therefore, the probability that he will not participate is 5%, and the probability that he will participate is 95%.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
3
样例输出
67