Practice - 1 "Sofia the first". Linear Algorithms




Task
Time limit: 1000 ms,
Memory limit: 256 Mb

In bad weather, Cedric'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 Cedric’s bad mood.

Input: a four-digit number is input
Output: output a new number formed by discarding the first and last digits of the original number

Example
Input Output
1 1234 23

Prohibited statements:[;string

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: