This page is still under construction.

Parts of this page are still being built. What you see may change.

Not A + B

Time limit1sMemory limit256 MB

Summary
Given a and b, output any integer c different from a+b, with c restricted to the range 1 to 50.
Level

Easy1 of 10

Topics
Implementation, Math, Brute force
Solved
No attempts yet

Problem

You are given two integers aa and bb. Print an integer cc that is not equal to a+ba+b.

Input

The first line contains an integer tt, the number of tests. Each of the next tt lines contains two integers aa and bb.

Output

For each test, print an integer cc on its own line. If there are multiple answers, you may print any of them.

Constraints

  • 1≤t≤1031 \le t \le 10^3
  • 1≤a,b≤50 1 \le a, b \le 50
  • 1≤c≤501 \le c \le 50

Examples1

  1. Example 1

    Input
    3
    1 2
    3 4
    5 6
    
    Expected output
    12
    34
    42