You will be given a definition of a task first, then some input of the task.
In this task you will be given a list of integers. You should round each integer to the nearest tens place. That means you should round the number to the nearest multiple of 10.

[331, 161, 351, 20]
Output:
[330, 160, 350, 20]