paziente(1,0,10).
paziente(2,10,25).
paziente(3,10,80).
paziente(4,20,100).
paziente(5,20,80).
paziente(6,10,50).
paziente(7,5,20).
paziente(8,10,50).
paziente(9,11,47).
paziente(10,20,80).
paziente(11,0,70).
paziente(12,10,90).
paziente(13,15,80).
paziente(14,10,100).
paziente(15,20,100).

distanza(0, 1, 6).
distanza(0, 2, 5).
distanza(0, 3, 4).
distanza(0, 4, 15).
distanza(0, 5, 7).
distanza(0, 6, 13).
distanza(0, 7, 9).
distanza(0, 8, 8).
distanza(0, 9, 1).
distanza(0, 10, 14).
distanza(0, 11, 5).
distanza(0, 12, 8).
distanza(0, 13, 5).
distanza(0, 14, 7).
distanza(0, 15, 13).
distanza(1, 2, 12).
distanza(1, 3, 7).
distanza(1, 4, 13).
distanza(1, 5, 10).
distanza(1, 6, 12).
distanza(1, 7, 10).
distanza(1, 8, 3).
distanza(1, 9, 13).
distanza(1, 10, 10).
distanza(1, 11, 3).
distanza(1, 12, 3).
distanza(1, 13, 8).
distanza(1, 14, 7).
distanza(1, 15, 3).
distanza(2, 3, 8).
distanza(2, 4, 11).
distanza(2, 5, 1).
distanza(2, 6, 7).
distanza(2, 7, 13).
distanza(2, 8, 13).
distanza(2, 9, 11).
distanza(2, 10, 13).
distanza(2, 11, 9).
distanza(2, 12, 8).
distanza(2, 13, 11).
distanza(2, 14, 7).
distanza(2, 15, 10).
distanza(3, 4, 10).
distanza(3, 5, 10).
distanza(3, 6, 10).
distanza(3, 7, 5).
distanza(3, 8, 9).
distanza(3, 9, 12).
distanza(3, 10, 7).
distanza(3, 11, 14).
distanza(3, 12, 9).
distanza(3, 13, 12).
distanza(3, 14, 3).
distanza(3, 15, 2).
distanza(4, 5, 12).
distanza(4, 6, 10).
distanza(4, 7, 15).
distanza(4, 8, 10).
distanza(4, 9, 6).
distanza(4, 10, 6).
distanza(4, 11, 10).
distanza(4, 12, 8).
distanza(4, 13, 12).
distanza(4, 14, 13).
distanza(4, 15, 11).
distanza(5, 6, 3).
distanza(5, 7, 1).
distanza(5, 8, 13).
distanza(5, 9, 3).
distanza(5, 10, 8).
distanza(5, 11, 4).
distanza(5, 12, 4).
distanza(5, 13, 10).
distanza(5, 14, 3).
distanza(5, 15, 1).
distanza(6, 7, 7).
distanza(6, 8, 7).
distanza(6, 9, 9).
distanza(6, 10, 10).
distanza(6, 11, 6).
distanza(6, 12, 15).
distanza(6, 13, 14).
distanza(6, 14, 4).
distanza(6, 15, 14).
distanza(7, 8, 15).
distanza(7, 9, 6).
distanza(7, 10, 3).
distanza(7, 11, 12).
distanza(7, 12, 14).
distanza(7, 13, 2).
distanza(7, 14, 5).
distanza(7, 15, 2).
distanza(8, 9, 14).
distanza(8, 10, 14).
distanza(8, 11, 6).
distanza(8, 12, 12).
distanza(8, 13, 12).
distanza(8, 14, 11).
distanza(8, 15, 4).
distanza(9, 10, 7).
distanza(9, 11, 11).
distanza(9, 12, 3).
distanza(9, 13, 9).
distanza(9, 14, 10).
distanza(9, 15, 1).
distanza(10, 11, 12).
distanza(10, 12, 11).
distanza(10, 13, 4).
distanza(10, 14, 7).
distanza(10, 15, 3).
distanza(11, 12, 12).
distanza(11, 13, 11).
distanza(11, 14, 1).
distanza(11, 15, 14).
distanza(12, 13, 12).
distanza(12, 14, 15).
distanza(12, 15, 7).
distanza(13, 14, 9).
distanza(13, 15, 3).
distanza(14, 15, 12).
distanza(1, 0, 6).
distanza(2, 0, 5).
distanza(3, 0, 4).
distanza(4, 0, 15).
distanza(5, 0, 7).
distanza(6, 0, 13).
distanza(7, 0, 9).
distanza(8, 0, 8).
distanza(9, 0, 1).
distanza(10, 0, 14).
distanza(11, 0, 5).
distanza(12, 0, 8).
distanza(13, 0, 5).
distanza(14, 0, 7).
distanza(15, 0, 13).
distanza(2, 1, 12).
distanza(3, 1, 7).
distanza(4, 1, 13).
distanza(5, 1, 10).
distanza(6, 1, 12).
distanza(7, 1, 10).
distanza(8, 1, 3).
distanza(9, 1, 13).
distanza(10, 1, 10).
distanza(11, 1, 3).
distanza(12, 1, 3).
distanza(13, 1, 8).
distanza(14, 1, 7).
distanza(15, 1, 3).
distanza(3, 2, 8).
distanza(4, 2, 11).
distanza(5, 2, 1).
distanza(6, 2, 7).
distanza(7, 2, 13).
distanza(8, 2, 13).
distanza(9, 2, 11).
distanza(10, 2, 13).
distanza(11, 2, 9).
distanza(12, 2, 8).
distanza(13, 2, 11).
distanza(14, 2, 7).
distanza(15, 2, 10).
distanza(4, 3, 10).
distanza(5, 3, 10).
distanza(6, 3, 10).
distanza(7, 3, 5).
distanza(8, 3, 9).
distanza(9, 3, 12).
distanza(10, 3, 7).
distanza(11, 3, 14).
distanza(12, 3, 9).
distanza(13, 3, 12).
distanza(14, 3, 3).
distanza(15, 3, 2).
distanza(5, 4, 12).
distanza(6, 4, 10).
distanza(7, 4, 15).
distanza(8, 4, 10).
distanza(9, 4, 6).
distanza(10, 4, 6).
distanza(11, 4, 10).
distanza(12, 4, 8).
distanza(13, 4, 12).
distanza(14, 4, 13).
distanza(15, 4, 11).
distanza(6, 5, 3).
distanza(7, 5, 1).
distanza(8, 5, 13).
distanza(9, 5, 3).
distanza(10, 5, 8).
distanza(11, 5, 4).
distanza(12, 5, 4).
distanza(13, 5, 10).
distanza(14, 5, 3).
distanza(15, 5, 1).
distanza(7, 6, 7).
distanza(8, 6, 7).
distanza(9, 6, 9).
distanza(10, 6, 10).
distanza(11, 6, 6).
distanza(12, 6, 15).
distanza(13, 6, 14).
distanza(14, 6, 4).
distanza(15, 6, 14).
distanza(8, 7, 15).
distanza(9, 7, 6).
distanza(10, 7, 3).
distanza(11, 7, 12).
distanza(12, 7, 14).
distanza(13, 7, 2).
distanza(14, 7, 5).
distanza(15, 7, 2).
distanza(9, 8, 14).
distanza(10, 8, 14).
distanza(11, 8, 6).
distanza(12, 8, 12).
distanza(13, 8, 12).
distanza(14, 8, 11).
distanza(15, 8, 4).
distanza(10, 9, 7).
distanza(11, 9, 11).
distanza(12, 9, 3).
distanza(13, 9, 9).
distanza(14, 9, 10).
distanza(15, 9, 1).
distanza(11, 10, 12).
distanza(12, 10, 11).
distanza(13, 10, 4).
distanza(14, 10, 7).
distanza(15, 10, 3).
distanza(12, 11, 12).
distanza(13, 11, 11).
distanza(14, 11, 1).
distanza(15, 11, 14).
distanza(13, 12, 12).
distanza(14, 12, 15).
distanza(15, 12, 7).
distanza(14, 13, 9).
distanza(15, 13, 3).
distanza(15, 14, 12).
