# PROBLEM LINK:

Contest Division 1

Contest Division 2

Contest Division 3

Contest Division 4

Setter: Tejas Pandey

Tester: Abhinav Sharma, Aryan

Editorialist: Lavish Gupta

# DIFFICULTY:

Cakewalk

# PREREQUISITES:

None

# PROBLEM:

Chef went shopping and bought items worth X rupees (1 \le X \le 100). Unfortunately, Chef only has a single 100 rupees note.

Since Chef is weak at mathematics, can you help Chef in calculating what money he should get back after paying 100 rupees for those items?

# EXPLANATION:

The problem is intended to test the ability of the contestant to convert the English statement into a Mathematical equation.

The amount of money that Chef should get back will be 100 - X. Hence, we need to print this value.

# TIME COMPLEXITY:

O(1) for each test case.

# SOLUTION:

## Editorialist's Solution

```
#include<bits/stdc++.h>
#define ll long long
using namespace std ;
int main()
{
ll t;
cin >> t ;
while(t--)
{
ll x ;
cin >> x ;
cout << 100-x << '\n' ;
}
return 0;
}
```