CF296B Yaroslav and Two Strings

Description

Yaroslav thinks that two strings $ s $ and $ w $ , consisting of digits and having length $ n $ are non-comparable if there are two numbers, $ i $ and $ j $ $ (1

Input Format

N/A

Output Format

N/A

Explanation/Hint

The first test contains no question marks and both strings are incomparable, so the answer is $ 1 $ . The second test has no question marks, but the given strings are comparable, so the answer is $ 0 $ .