#!/bin/python
from functools import reduce
import sys
def adder(the_dict):
def somerandomname(x,y):
return x + the_dict[y]
return reduce(somerandomname,the_dict, '')
d={'a':'fuck ','b':'this ','c':'pluses '}
print('d is\n',d)
print(adder(d))
IyEvYmluL3B5dGhvbgpmcm9tIGZ1bmN0b29scyBpbXBvcnQgcmVkdWNlCmltcG9ydCBzeXMKCmRlZiBhZGRlcih0aGVfZGljdCk6CiAgICBkZWYgc29tZXJhbmRvbW5hbWUoeCx5KToKICAgICAgICByZXR1cm4geCArIHRoZV9kaWN0W3ldCiAgICByZXR1cm4gcmVkdWNlKHNvbWVyYW5kb21uYW1lLHRoZV9kaWN0LCAnJykKCmQ9eydhJzonZnVjayAnLCdiJzondGhpcyAnLCdjJzoncGx1c2VzICd9CnByaW50KCdkIGlzXG4nLGQpCnByaW50KGFkZGVyKGQpKQ==