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

Задача 42694. 2 in 2007


Задача

Темы: Типы данных
Write a program that evaluates the expression 22007. Print in the first line a string representing the number formed by the digits at the positions with indices 20, 0 and 7 of the calculated value . On the second line print the sum of the digits in the same positions. Numbering of digits starts from the left from zero.