#B4270. Subtraction with Custom Operator
Subtraction with Custom Operator
Subtraction with Custom Operator
We define a custom operator \(\texttt{>>>}\) such that when applied to a three-digit number \(N\) (with \(100 < N >>}\ N\) is equivalent to \(\lfloor N/10 \rfloor\). For example:
\(\texttt{>>>}\ 257 = 25\)
\(\texttt{>>>}\ 182 = 18\)
\(\texttt{>>>}\ 933 = 93\)
Your task is to compute the result of \(N - (\texttt{>>>}\ N)\). For instance, when \(N=257\), the result is \(257 - 25 = 232\).
inputFormat
The input consists of a single positive integer \(N\) such that \(100 < N < 1000\).
outputFormat
Output a single integer representing the result of \(N - (\texttt{>>>}\ N)\), where \(\texttt{>>>}\ N = \lfloor N/10 \rfloor\).
sample
257
232