input: def port_java_to_python(java_code: str) -> str:
      """
      Converts a given Java code snippet to its equivalent in Python 3.
  
      >>> port_java_to_python("public class Foo { public int foo( int a, int b ) { return a + b; } }")
      "def foo(a, b):\\n return a + b"
      """
      pass
output:     
      java_code = java_code.replace("public class ", "").replace("{", "").replace("}", "")
      java_code = java_code.replace("public ", "").replace("int ", "")
      java_code = java_code.replace("(", "(").replace(" )", ")")
      java_code = java_code.replace("return ", "return ")
      java_code = java_code.replace(";", "")
      return java_code
  