#! /usr/bin/env python
import sys
import math


x = float(sys.argv[1])
y = float(sys.argv[2])

z = complex(x, y)
radius = abs(z)
theta = math.atan2(y, x)
theta_degree = math.degrees(theta)

print("Kartesische Koordinate des Punktes:")
print(f"   x = {x}; y = {y}")
print(f"   r = {radius:.3f}; theta = {theta_degree:.3f}°")