; your code goes here
(deffunction go()
(reset)
(assert (cislo 7))
(assert (cislo 9))
(assert (cislo 3))
(assert (cislo 6))
(assert (cislo 8))
(assert (cislo 2))
(run))
(defrule vypis-cisla
(cislo ?x)
(cislo ?y)
(test (> ?y ?x))
=>
(printout t "cislo = " ?x " "?y crlf)
)
(go)
(exit)
; empty line at the end
OyB5b3VyIGNvZGUgZ29lcyBoZXJlCihkZWZmdW5jdGlvbiBnbygpCiAgKHJlc2V0KQogIChhc3NlcnQgKGNpc2xvIDcpKQogIChhc3NlcnQgKGNpc2xvIDkpKQogIChhc3NlcnQgKGNpc2xvIDMpKQogIChhc3NlcnQgKGNpc2xvIDYpKQogIChhc3NlcnQgKGNpc2xvIDgpKQogIChhc3NlcnQgKGNpc2xvIDIpKQogIChydW4pKQogCiAKKGRlZnJ1bGUgdnlwaXMtY2lzbGEKICAoY2lzbG8gP3gpCiAgKGNpc2xvID95KQogICh0ZXN0ICg+ID95ID94KSkKPT4KICAocHJpbnRvdXQgdCAiY2lzbG8gPSAiID94ICIgIj95IGNybGYpCikKIAooZ28pCihleGl0KQo7IGVtcHR5IGxpbmUgYXQgdGhlIGVuZA==