electicode
HomeCoursesResourcesProblemsNational OlympiadContestsLeaderboard
...

A + B

Time Limit: 1000msMemory Limit: 256MB
View Submissions

Problem Description

You are given two integers AAA and BBB.

Find and output their sum.

Input Format

Two integers AAA and BBB (−1018≤A,B≤1018-10^{18} \le A, B \le 10^{18}−1018≤A,B≤1018).

Output Format

Print a single integer --- the sum of AAA and BBB.

Scoring

Each subtask has its own constraints.

SubtaskConstraintsPoints
111−109≤A,B≤109-10^9 \le A,B \le 10^9−109≤A,B≤10

Examples

Example 1
Input
2 3
Output
5

© 2026 Electicode. All rights reserved.

9
353535
222−1018≤A,B≤1018-10^{18} \le A,B \le 10^{18}−1018≤A,B≤1018656565