Given a four-digit number. Write a program that finds the difference between the numbers formed by the first two digits and the last two digits of a given number. Display the found difference on the screen according to the sample output from the example.
Example
# |
Input |
Output |
1 |
4566 |
45-66=-21 |