#186. hasOne

hasOne

Background

Description

Given a positive int n, return true if it contains a 1 digit. Note: use % to get the rightmost digit, and / to discard the rightmost digit.

Format

Input

Output

Samples

10
true
22
false
220
false

Limitation

1s, 1024KiB for each test case.