def check_fermat(a, b, c, n):
a**n + b**n == c**n and not print('Fermat was wrong') or print('sraka kota')
check_fermat(1, 1, 2, 1)
check_fermat(4, 4, 8, 3)
ZGVmIGNoZWNrX2Zlcm1hdChhLCBiLCBjLCBuKToKCWEqKm4gKyBiKipuID09IGMqKm4gYW5kIG5vdCBwcmludCgnRmVybWF0IHdhcyB3cm9uZycpIG9yIHByaW50KCdzcmFrYSBrb3RhJykKCQpjaGVja19mZXJtYXQoMSwgMSwgMiwgMSkKY2hlY2tfZmVybWF0KDQsIDQsIDgsIDMp