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

Задача 38802. Six digit number - 1


Задача

Темы: Целые числа
The program receives a six-digit number as input. Output  print two space-separated numbers: the smallest sum among the first three and last three digits, and print the number of 7 digits that have at least one even digit in their neighbors.
 
Examples
# Input Output
1 127357 10 1