Strings strings and math (solution)

Exercise
Output solution