Add Strings Problem

Add Strings Problem — ExecCode School DSA Practice

Solve the Add Strings problem on ExecCode. Free online school DSA practice in String. Write and run code in Java, C++, Python — no signup required to run.

Problem description

You are given two numbers, but they are given as words or text, not actual numbers ready for math. Your task is to add these two numbers together. Then, print their sum, also as a word or text.

Examples

Input 11 123; Output 134. Input 456 77; Output 533

Constraints

1 <= n <= 10^5

Practice Add Strings free on ExecCode. Browse DSA problems, topic map, and placement guides.