Module: Workshop - 1 "Sofia the first". Linear Algorithms


Problem

6 /11


Evil Wizard

Problem

In bad weather, Evil Wizard's mood spoils, and he begins to harm. The last time he was doing this was wrong: in every four-digit number that he met on the street, he deleted the first and last digits.
Write a program that implements Evil Wizard 's bad mood.

Input format
Given a four-digit positive number.

Output format
Output a new number formed by discarding the first and last digits of the original number.
 
Example
N Input Output
1 1234 23