Codeforces Beta Round 57 (Div. 2)
A
Ultra-Fast Mathematician
Codeforces
800
原题
←B →
翻译中…

Shapur was an extremely gifted student. He was great at everything including Combinatorics, Algebra, Number Theory, Geometry, Calculus, etc. He was not only smart but extraordinarily fast! He could manage to sum $10^{18}$ numbers in a single second.

翻译中…

One day in 230 AD Shapur was trying to find out if any one can possibly do calculations faster than him. As a result he made a very great contest and asked every one to come and take part.

翻译中…

In his contest he gave the contestants many different pairs of numbers. Each number is made from digits $0$ or $1$. The contestants should write a new number corresponding to the given pair of numbers. The rule is simple: The $*i*$-th digit of the answer is $1$ if and only if the $*i*$-th digit of the two given numbers differ. In the other case the $*i*$-th digit of the answer is $0$.

翻译中…

Shapur made many numbers and first tried his own speed. He saw that he can perform these operations on numbers of length $∞$ (length of a number is number of digits in it) in a glance! He always gives correct answers so he expects the contestants to give correct answers, too. He is a good fellow so he won't give anyone very big numbers and he always gives one person numbers of same length.

翻译中…

Now you are going to take part in Shapur's contest. See if you are faster and more accurate.

翻译中…

Input

翻译中…

There are two lines in each input. Each of them contains a single number. It is guaranteed that the numbers are made from $0$ and $1$ only and that their length is same. The numbers may start with $0$. The length of each number doesn't exceed 100.

翻译中…

Output

翻译中…

Write one line — the corresponding answer. Do not omit the leading $0$s.

翻译中…

样例

Input #1
1010100
0100101
Output #1
1110001
InputCopy OutputCopy
Input #2
000
111
Output #2
111
InputCopy OutputCopy
Input #3
1110
1010
Output #3
0100
InputCopy OutputCopy
Input #4
01110
01100
Output #4
00010
InputCopy OutputCopy
题目信息
题号
61A
时间限制
2 s
内存限制
256 MB
标签
模拟

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。