QOJ.ac

QOJ

Límite de tiempo: 1 s Límite de memoria: 512 MB Puntuación total: 10

#5211. A+B

Estadísticas

We have a task for you that is as old as time, but in a slightly refreshed version. It consists of adding two numbers together, which this time can be quite large. If only there were some tool on Potyczki Algorytmiczne that helps deal with large numbers...

Input

The first line of standard input contains a single positive integer $a$, which consists of no more than $5\,000$ digits.

The second line of standard input contains a single positive integer $b$, which consists of no more than $5\,000$ digits.

The numbers $a$ and $b$ are given without leading zeros.

Output

The only line of output should contain the result of the addition $a + b$.

Examples

Input 1

1997
25

Output 1

2022

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.