#K93392. Double Digit Transformation

    ID: 38409 Type: Default 1000ms 256MiB

Double Digit Transformation

Double Digit Transformation

Given a string \( S \), transform it by doubling every numeric digit and taking only the unit digit of the result (i.e., the last digit of the doubled number). All other characters (including lowercase letters) remain unchanged.

For example, if \( S = \texttt{hello123} \), doubling each digit gives \( 1\to2, 2\to4, 3\to6 \) so the output should be \( \texttt{hello246} \).

Please implement this transformation by reading the input from standard input and writing the output to standard output.

inputFormat

The input is provided as a single line containing the string \( S \).

outputFormat

Output the transformed string on a single line.

## sample
hello123
hello246