# your code goes here
a = [30,20,15,15,2.5,10,10,20,10]
def f(k, lst):
s = sum(lst)
return list(map(
lambda x: (x, round(k*x/s, 2)), lst))
print(f(2000, a))
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCmEgPSBbMzAsMjAsMTUsMTUsMi41LDEwLDEwLDIwLDEwXQoKZGVmIGYoaywgbHN0KToKICBzID0gc3VtKGxzdCkKICByZXR1cm4gbGlzdChtYXAoCiAgICBsYW1iZGEgeDogKHgsIHJvdW5kKGsqeC9zLCAyKSksIGxzdCkpCgpwcmludChmKDIwMDAsIGEpKQ==
[(30, 452.83), (20, 301.89), (15, 226.42), (15, 226.42), (2.5, 37.74), (10, 150.94), (10, 150.94), (20, 301.89), (10, 150.94)]