Any Base Subtraction

easy
1. You are given a base b.
2. You are given two numbers n1 and n2 of base b.
3. You are required to subtract n1 from n2 and print the value.

Input Format

A base b A number n1 A number n2

Output Format

A number of base b equal in value to n2 - n1.

Constraints

2 <= b <= 10
0 <= n1 <= 256
n1 <= n2 <= 256

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
8
1
100
Output
77
Previous
Any Base Addition
Next
Any Base Multiplication

Related Questions