a, b, c = map(float, input("Podaj liczby a, b, c: ").split())
if a == 0:
if b == c:
print("NWR")
else:
print("BR")
else:
x = (c - b) / a
print(f"{x:.2f}")
YSwgYiwgYyA9IG1hcChmbG9hdCwgaW5wdXQoIlBvZGFqIGxpY3pieSBhLCBiLCBjOiAiKS5zcGxpdCgpKQoKaWYgYSA9PSAwOgogICAgaWYgYiA9PSBjOgogICAgICAgIHByaW50KCJOV1IiKSAKICAgIGVsc2U6CiAgICAgICAgcHJpbnQoIkJSIikgCmVsc2U6CiAgICB4ID0gKGMgLSBiKSAvIGEKICAgIHByaW50KGYie3g6LjJmfSIpCg==