Yo`nalishlar
Hozirda online

Statistika

Masalalar soni: 909

Foydalanuvchilar soni: 8819

Jo'natishlar soni: 714315

Muhokama yozuvlari: 4540

Yangiliklar soni: 97

Yangiliklar izohlari: 1174


So'ngi izohlar

762. Binary adding
Vaqt limiti: 1 sekund
Xotira limiti: 64 MB

You are given two numbers A and B in binary number system. Your task is to add them in binary system.

Input

 The first line contains the number A, second contains the number B. Both numbers contain only 0 and 1. They are not empty and there is not leading zeroes. Lengths both of them don’t exceed 1000 symbols.

Output

Print the sum of numbers in binary number system without leading zeroes.

Samples

Input

Output

1

1

1

10

2

101

10

111

 

Tayyorladi: Azat Yusupov
Mening urinishlarim(0) Muhokama (4) Jo'natish Eng yaxshi yechimlar Barcha muvaffaqiyatli urinishlar(43) Barcha urinishlar(139)