(define (square a) (* a a))
(define (sum-of-squares a b) (+ (square a) (square b)))
(define (zad a b c)
(if (> a b)
(if (> b c) (sum-of-squares a b) (sum-of-squares a c))
(if (> a c) (sum-of-squares a b) (sum-of-squares b c))
)
)
(display (zad 2 4 1))
KGRlZmluZSAoc3F1YXJlIGEpICgqIGEgYSkpCihkZWZpbmUgKHN1bS1vZi1zcXVhcmVzIGEgYikgKCsgKHNxdWFyZSBhKSAoc3F1YXJlIGIpKSkKKGRlZmluZSAoemFkIGEgYiBjKQogKGlmICg+IGEgYikKICAgIChpZiAoPiBiIGMpIChzdW0tb2Ytc3F1YXJlcyBhIGIpIChzdW0tb2Ytc3F1YXJlcyBhIGMpKQogICAgKGlmICg+IGEgYykgKHN1bS1vZi1zcXVhcmVzIGEgYikgKHN1bS1vZi1zcXVhcmVzIGIgYykpCiApCikKKGRpc3BsYXkgKHphZCAyIDQgMSkp