#126. 判断模20余1或2
判断模20余1或2
Multiple of 20 Plus 1 or 2
Background
Congcong has recently been studying the properties of numbers. He found that some numbers exhibit interesting patterns in their remainders when divided by a specific number. Now, he wants your help to determine if a given number follows one of his special patterns.
Problem Description
Given a non-negative integer, return true if it is or more than a multiple of . Otherwise, return false.
Input Format
Input is given from standard input in the following format.
A non-negative integer .
Output Format
Output is printed to standard output in the following format.
Output
trueif the condition is met; otherwise, outputfalse.
Sample
20
false
21
true
22
true
Sample Explanation
For sample , , which is not or , so it returns false.
For sample , , which is , so it returns true.
For sample , , which is , so it returns true.
Constraints
Time limit: 1 second per test case. Memory limit: 1024 KiB per test case.