Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/while-2-raqami-bormi

Is there a digit 2?

Easy 1000 ms 64 MB 30%
Share

A positive integer $n$ is given. If its decimal notation contains the digit $2$, print true, otherwise false.

Searching for a particular digit among the digits of the number

Input

One integer $n$.

Output

true or false accordingly.

Note

$1 \le n \le 2 * 10^{9}$

Examples

Input #1
1234
Output #1
true
Input #2
508
Output #2
false

Sign in to submit a solution

Signing up is free and takes a minute.