Read an integer seed. Run it through three async steps in order: add 10, double, subtract 3 — each step awaited. Print each intermediate value on its own line (3 lines total).
Input: one integer. Output: three lines: after add, after double, after subtract.
Your program reads from stdin and prints to stdout.
Example 1
Input: 5
Output: 15 30 27
Hints
Read an integer seed. Run it through three async steps in order: add 10, double, subtract 3 — each step awaited. Print each intermediate value on its own line (3 lines total).
Input: one integer. Output: three lines: after add, after double, after subtract.
Your program reads from stdin and prints to stdout.
Example 1
Input: 5
Output: 15 30 27
Hints