Given an array of numbers, return an array, with each member of input array rounded to a nearest number, divisible by 5.

For example:
```
roundToFive([34.5, 56.2, 11, 13]);
```
should return
```
[35, 55, 10, 15]
```

```if:python
Roundings have to be done like "in real life": `22.5 -> 25`
```

Difficulty: introductory

Starter code:

def round_to_five(numbers):
	

Solutions:
from decimal import Decimal, ROUND_HALF_UP

def round_to_five(numbers):
    return [(n/5).quantize(1, ROUND_HALF_UP) * 5 for n in map(Decimal, numbers)]

def round_to_five(numbers):
    
    return [5*int(x/5 + 0.5) for x in numbers]

def round_to_five(numbers):
    return [int((n + 2.5) / 5) * 5 for n in numbers]

round_to_five=lambda l:[round((0.01+n)/5)*5 for n in l]

def round_to_five(numbers):    
    return [int(((x // 5) + (x % 5 >= 2.5)) * 5) for x in numbers]

def round_to_five(arr):
    return [5*round(v/5+0.01) for v in arr]

import math
def round_to_five(numbers):
    output = []
    for n in numbers:
        if n % 5 == 0:
            output.append(int(n))
        elif (n % 10 < 5 and n % 5 < 2.5) or (n % 10 > 5 and n % 5 >= 2.5):
            output.append(int(round(n,-1)))
        elif (n % 10 < 5 and n % 5 >= 2.5):
            output.append(int(round(n,-1) + 5))
        else:
            output.append(int(round(n,-1) - 5))
    return output


from math import floor, ceil

def rond(x):
    return floor(x) if x % 1 < 0.5 else ceil(x)
    
def round_to_five(numbers):
    return [rond(x/5)*5 for x in numbers]

def rounding(n):
    intPart = int(n)
    fracPart = n - intPart
    if fracPart >= 0.5:
        n = intPart + 1
    else:
        n = intPart
    for i in range(6):
        up = n + i
        down = n - i 
        if up%5 == 0:
            return up
        elif down%5==0:
            return down
def round_to_five(numbers):
    #your code here
    numbers = [rounding(n) for n in numbers]
    return numbers