#147. shareDigit

shareDigit

Background

Description

Given two ints, each in the range 10..99, return true if there is a digit that appears in both numbers, such as the 2 in 12 and 23. (Note: division, e.g. n/10, gives the left digit while the % "mod" n%10 gives the right digit.)

Format

Input

Output

Samples

12 23
true
12 43
false
12 44
false

Limitation

1s, 1024KiB for each test case.