<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_proxy_meth(cls, name, func, arg_pos=0):
 """ Add a method `name` to the class, which returns the value of `func`, called with the proxied value inserted at `arg_pos` """


        @wraps(func)
        def proxied(self, *args, **kwargs):
            args = list(args)
            args.insert(arg_pos, self.__subject__)
            result = func(*args, **kwargs)
            return result

        setattr(cls, name, proxied)