Step 3 of 12 · Loops

Multiplication table

BeginnerJavaScript1,000 ms

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.

Browser-isolated runner

Write your solution.

Define solve(input) and return the exact output. Network access is blocked and the runner stops after 1,000 ms. Run the example to inspect local console.log output.

Best verdictNot submitted
solution.jsLocal only
Keyboard: Tab to Run, then EnterSign in to submit
Try your own inputRuns locally without adding a saved attempt
Ready

You can run the example now. Sign in to submit and save progress.

Sign in to save this work. Your code, attempts, and Accepted progress return with your account.

Saved attempts

Verdict history

No saved submissions yet. Your first verdict will appear here.