Олимпиадный тренинг

Задача 33505. The hardest question for beginners, or number digits


Задача

Темы: Целые числа
A three-digit number is entered from the keyboard.
Write a program that displays space-separated in one line:
the sum of the digits of a number and a new number formed by a permutation of units and tens