Contest: Task: Related: TaskB

Score : $100$ points

Let $xyz$ denote the $3$-digit integer whose digits are $x$, $y$, $z$ from left to right.

Given a $3$-digit integer $abc$ none of whose digits is $0$, find $abc+bca+cab$.

- $abc$ is a $3$-digit integer $abc$ none of whose digits is $0$.

Input is given from Standard Input in the following format:

$abc$

Print the answer.

123

666

We have $123+231+312=666$.

999

2997

We have $999+999+999=2997$.