Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/integer-orta-raqamni-ochirish

Remove the middle digit

Easy 1000 ms 64 MB 15%
Share

A three-digit positive integer $n$ is given. Find the number obtained by removing its middle digit. For example, $123$ gives $13$.

The middle digit of the three-digit number is removed

Input

One three-digit positive integer $n$.

Output

One integer — the number without its middle digit.

Note

$100 \le n \le 999$

Examples

Input #1
123
Output #1
13
Input #2
100
Output #2
10

Sign in to submit a solution

Signing up is free and takes a minute.