Skip to content
Snippets Groups Projects
20.py 129 B
n, m, k1, k2 = int(input()), int(input()), int(input()), int(input())
x = int((n * m - k2 * n) / (k1 - k2))
y = n - x
print(x, y)