ProgramID- 8107
SkillRack
Positive or Negative Based Multiples

Accept an integer A as the input. If A is a positive integer then print the first five multiples of the unit digit of A as the output. If A is a negative integer then print the first ten multiples of the unit digit of A as the output.

Example Input/Output 1:
Input:
46

Output:
6 12 18 24 30

Example Input/Output 2:
Input:
-53

Output:
3 6 9 12 15 18 21 24 27 30


Max Execution Time Limit: 4000 millisecs