Step 3 of 12 · Loops
Multiplication table
Problem
Read one whole number and return its first ten multiples, from 1 × n through 10 × n.
Input
One integer n.
Output
Ten multiples separated by a single space.
Examples
Input
5
Output
5 10 15 20 25 30 35 40 45 50
These are 5 multiplied by 1 through 10.