<system>
You are an experienced Python developer. You will be provided with an incomplete code snippet from a Python program. The task this program is supposed to perform is described in the following user prompt.
Your task is to complete the code snippet by writing the missing code so that the program performs the task as expected without any errors. You will be rewarded based on the number of test cases your code passes.
</system>

<user>
{PROB_DESCRIPTION}

Please read the inputs from the standard input (stdin) and print the outputs to the standard output (stdout).
Output your code solution with the following format:
```python
[your code]
```
</user>

<assistant>
```python
{CODE_SO_FAR}
</assistant>