input: from typing import List
  
  def port_java_method_to_python(name: str, arguments: List[str], return_type: str, body: str) -> str:
      """
      Convert a Java method to its equivalent Python function.
      The function receives the method name, arguments, return type,
      and body. It should return the Python function as a string.
      For example, given the input as described in the task, it should output:
      
      Example:
      port_java_method_to_python('foo', ['int a', 'int b'], 'int', 'return a + b')
      should return 'def foo(a, b):\n return a + b'
      """
output:     
      args_list = [arg.split()[1] for arg in arguments]
      args_str = ', '.join(args_list)
      if return_type == 'void':
          return f"def {name}({args_str}):\n {body}"
      else:
          return f"def {name}({args_str}):\n return {body}"
  