File size: 80,997 Bytes
d2a0598
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355

:- dynamic term_expansion/2.
:- multifile term_expansion/2.


great_grandfather(X, Y) :-
    great_grandparent(X, Y),
    male(Y).

great_grandchild(X, Y) :-
    great_grandparent(Y, X).

great_grandparent(X, Y) :-
    grandparent(X, Z),
    parent(Z, Y).

:- dynamic library_directory/1.
:- multifile library_directory/1.


great_grandmother(X, Y) :-
    great_grandparent(X, Y),
    female(Y).

:- dynamic goal_expansion/4.
:- multifile goal_expansion/4.


:- dynamic hobby/2.

hobby("Abdul Felker", "birdwatching").
hobby("Adolph Barbee", "geography").
hobby("Alice Lance", "research").
hobby("Allie Barbee", "audiophile").
hobby("Allison Barbee", "knowledge/word games").
hobby("Alvin Lance", "geocaching").
hobby("Andres Barbee", "croquet").
hobby("Andrew Parkinson", "badminton").
hobby("Brooks George", "fossil hunting").
hobby("Clint Rahman", "rail transport modelling").
hobby("Colette Rahman", "jujitsu").
hobby("Courtney Parkinson", "beauty pageants").
hobby("Dalton Parkinson", "softball").
hobby("Dollie Barbee", "golfing").
hobby("Elicia Barbee", "inline skating").
hobby("Elyse Barbee", "radio-controlled model collecting").
hobby("Emma George", "videography").
hobby("Garth Kean", "butterfly watching").
hobby("Guadalupe Barbee", "learning").
hobby("Jenni Felker", "business").
hobby("Karolyn Lance", "curling").
hobby("Kelley Barbee", "magnet fishing").
hobby("Kenny Barbee", "pickleball").
hobby("Kirk Lo", "shuffleboard").
hobby("Konstantin Barbee", "geocaching").
hobby("Korey Kean", "trade fair visiting").
hobby("Krystle Barbee", "lapel pins").
hobby("Kurt Parkinson", "rock balancing").
hobby("Latosha Rahman", "breakdancing").
hobby("Leonila Parkinson", "audiophile").
hobby("Lesley Barbee", "dairy farming").
hobby("Lyndon Barbee", "research").
hobby("Marvin Hope", "mineral collecting").
hobby("Merrill Kean", "research").
hobby("Mitchel George", "mineral collecting").
hobby("Nettie Barbee", "learning").
hobby("Rocco Lance", "magnet fishing").
hobby("Rory George", "whale watching").
hobby("Royce Lo", "research").
hobby("Rudy Barbee", "fusilately").
hobby("Solomon Rahman", "shortwave listening").
hobby("Tracey Kean", "microscopy").
hobby("Twyla Parkinson", "life science").
hobby("Tyrone Parkinson", "meditation").
hobby("Wallace Ragland", "science and technology studies").
hobby("Walter Hope", "frisbee").
hobby("Wanda Lo", "satellite watching").
hobby("Wanita Hope", "chemistry").
hobby("Willie Parkinson", "ballet dancing").
hobby("Yasmin Ragland", "antiquities").
hobby("Ahmad Vansickle", "rock balancing").
hobby("Albertine Thrower", "leaves").
hobby("Alejandrina Thrower", "table football").
hobby("Andre Vansickle", "shogi").
hobby("Benny Guay", "learning").
hobby("Brain Thrower", "radio-controlled model playing").
hobby("Candice Bianchi", "whale watching").
hobby("Carmen Bianchi", "sociology").
hobby("Cesar Guay", "people-watching").
hobby("Chrissy Vansickle", "bowling").
hobby("Concepcion Najera", "city trip").
hobby("Edgar Bianchi", "ant farming").
hobby("Esperanza Bianchi", "whale watching").
hobby("Esperanza Ervin", "button collecting").
hobby("Eve Ervin", "archaeology").
hobby("Georgette Gebhart", "herping").
hobby("Gertrude Guay", "audiophile").
hobby("Hal Gebhart", "fencing").
hobby("Jaime Veilleux", "magnet fishing").
hobby("Jim Bianchi", "mineral collecting").
hobby("Joshua Ervin", "table tennis").
hobby("Kendrick Sherrod", "shortwave listening").
hobby("Kristopher Veilleux", "geocaching").
hobby("Landon Ervin", "physics").
hobby("Laurel Bianchi", "polo").
hobby("Laurel Guay", "lotology").
hobby("Linwood Thrower", "stone collecting").
hobby("Loraine Vansickle", "flower collecting and pressing").
hobby("Lucas Bianchi", "research").
hobby("Lura Bianchi", "netball").
hobby("Maragret Bianchi", "architecture").
hobby("Mauricio Vansickle", "bus spotting").
hobby("Minerva Pennington", "shortwave listening").
hobby("Norris Sherrod", "radio-controlled model playing").
hobby("Ollie Bianchi", "archaeology").
hobby("Philip Thrower", "geography").
hobby("Pricilla Pennington", "audiophile").
hobby("Raphael Ervin", "sea glass collecting").
hobby("Renea Thrower", "auto audiophilia").
hobby("Robby Pennington", "aircraft spotting").
hobby("Rosena Veilleux", "stone collecting").
hobby("Roxy Guay", "fencing").
hobby("Roy Najera", "cribbage").
hobby("Sarita Bianchi", "ant-keeping").
hobby("Shante Najera", "skateboarding").
hobby("Shizuko Veilleux", "herbalism").
hobby("Shon Guay", "satellite watching").
hobby("Sylvester Sherrod", "airsoft").
hobby("Twila Veilleux", "beekeeping").
hobby("Winnifred Sherrod", "darts").
hobby("Zachary Guay", "photography").
hobby("Adella Stites", "bus spotting").
hobby("Andrea Stites", "laser tag").
hobby("Angel Kress", "geography").
hobby("Arthur Stites", "powerboat racing").
hobby("Casey Dow", "shortwave listening").
hobby("Cherise Darling", "backgammon").
hobby("Chris Stites", "disc golf").
hobby("Darrick Darling", "nordic skating").
hobby("Deirdre Fries", "shopping").
hobby("Donnie Turgeon", "auto racing").
hobby("Donovan Stites", "benchmarking").
hobby("Dwain Stites", "microbiology").
hobby("Eddie Darling", "research").
hobby("Edmond Abney", "tennis").
hobby("Eldon Stites", "surfing").
hobby("Evelia Nelms", "sports memorabilia").
hobby("Giovanni Stites", "backgammon").
hobby("Grant Stites", "meteorology").
hobby("Harvey Stites", "whale watching").
hobby("Hunter Darling", "beekeeping").
hobby("Ione Stites", "entrepreneurship").
hobby("Jewel Abney", "railway studies").
hobby("Jewell Stites", "mathematics").
hobby("Joanne Dow", "leaves").
hobby("Joel Fries", "sea glass collecting").
hobby("Julio Nelms", "snowboarding").
hobby("Kenny Southerland", "trainspotting").
hobby("Kent Turgeon", "sea glass collecting").
hobby("Kieth Dow", "learning").
hobby("Kisha Stites", "meteorology").
hobby("Kris Stites", "microscopy").
hobby("Ladawn Turgeon", "publishing").
hobby("Lawerence Stites", "aircraft spotting").
hobby("Leopoldo Stites", "research").
hobby("Marcel Abney", "tour skating").
hobby("Margaret Turgeon", "science and technology studies").
hobby("Maxwell Deming", "cycling").
hobby("Mayra Stites", "meditation").
hobby("Minnie Darling", "fossil hunting").
hobby("Mitchell Darling", "auto audiophilia").
hobby("Nada Stites", "antiquities").
hobby("Nickolas Deming", "engineering").
hobby("Oralia Kress", "butterfly watching").
hobby("Pansy Southerland", "ant farming").
hobby("Shamika Dow", "fishkeeping").
hobby("Shirleen Stites", "knife collecting").
hobby("Staci Deming", "sea glass collecting").
hobby("Tanya Darling", "auto audiophilia").
hobby("Tyrone Deming", "publishing").
hobby("Wayne Stites", "vintage cars").
hobby("Wilmer Stites", "exhibition drill").
hobby("Adella Mcbroom", "microscopy").
hobby("Alina Huntley", "insect collecting").
hobby("Allyson Brashear", "reading").
hobby("Allyson Gorton", "beach volleyball").
hobby("Anastacia Grigg", "squash").
hobby("Anneliese Brashear", "whale watching").
hobby("Audie Dodge", "mineral collecting").
hobby("Autumn Brashear", "reading").
hobby("Barry Huntley", "table football").
hobby("Bess Dodge", "equestrianism").
hobby("Booker Grigg", "car riding").
hobby("Brooks Huntley", "hobby horsing").
hobby("Carmella Huntley", "jujitsu").
hobby("Cleveland Mcbroom", "publishing").
hobby("Dean Mcbroom", "geocaching").
hobby("Demarcus Huntley", "social studies").
hobby("Desiree Mcbroom", "shortwave listening").
hobby("Dorris Huntley", "birdwatching").
hobby("Dudley Dodge", "deltiology").
hobby("Ezequiel Gorton", "leaves").
hobby("Felipe Brashear", "fishkeeping").
hobby("Gwenn Mcbroom", "butterfly watching").
hobby("Harvey Mcbroom", "publishing").
hobby("Jacquelyn Huntley", "biology").
hobby("James Mcbroom", "movie memorabilia collecting").
hobby("Jordan Mcbroom", "butterfly watching").
hobby("Lissa Mcbroom", "myrmecology").
hobby("Lowell Gorton", "seashell collecting").
hobby("Maryann Mcbroom", "shoes").
hobby("Matt Mcbroom", "research").
hobby("Max Gorton", "amateur astronomy").
hobby("Melvin Dodge", "bowling").
hobby("Mervin Mcbroom", "ant-keeping").
hobby("Mike Grigg", "herping").
hobby("Morgan Huntley", "shortwave listening").
hobby("Nydia Grigg", "aircraft spotting").
hobby("Oleta Mcbroom", "lacrosse").
hobby("Omar Grigg", "horseshoes").
hobby("Orlando Brashear", "seashell collecting").
hobby("Randolph Grigg", "flying").
hobby("Rena Grigg", "pinball").
hobby("Reynaldo Brashear", "crystals").
hobby("Sandy Mcbroom", "antiquities").
hobby("Shannon Grigg", "shoes").
hobby("Shelton Dodge", "association football").
hobby("Sue Mcbroom", "horseback riding").
hobby("Tamara Mcbroom", "fossil hunting").
hobby("Theodore Grigg", "lapel pins").
hobby("Tianna Brashear", "transit map collecting").
hobby("Windy Gorton", "driving").
hobby("Zelma Mcbroom", "larping").

granddaughter(X, Y) :-
    grandchild(X, Y),
    female(Y).

grandson(X, Y) :-
    grandchild(X, Y),
    male(Y).

:- dynamic job/2.

job("Abdul Felker", "police officer").
job("Adolph Barbee", "community education officer").
job("Alice Lance", "herbalist").
job("Allie Barbee", "podiatrist").
job("Allison Barbee", "prison officer").
job("Alvin Lance", "animal technologist").
job("Andres Barbee", "leisure centre manager").
job("Andrew Parkinson", "speech and language therapist").
job("Brooks George", "dietitian").
job("Clint Rahman", "amenity horticulturist").
job("Colette Rahman", "theatre stage manager").
job("Courtney Parkinson", "hydrologist").
job("Dalton Parkinson", "learning mentor").
job("Dollie Barbee", "location manager").
job("Elicia Barbee", "chartered management accountant").
job("Elyse Barbee", "plant breeder").
job("Emma George", "advertising account executive").
job("Garth Kean", "tourism officer").
job("Guadalupe Barbee", "civil service fast streamer").
job("Jenni Felker", "designer").
job("Karolyn Lance", "development worker").
job("Kelley Barbee", "tourist information centre manager").
job("Kenny Barbee", "community education officer").
job("Kirk Lo", "farm manager").
job("Konstantin Barbee", "doctor").
job("Korey Kean", "newspaper journalist").
job("Krystle Barbee", "customer service manager").
job("Kurt Parkinson", "public house manager").
job("Latosha Rahman", "exercise physiologist").
job("Leonila Parkinson", "early years teacher").
job("Lesley Barbee", "chief executive officer").
job("Lyndon Barbee", "bookseller").
job("Marvin Hope", "physiotherapist").
job("Merrill Kean", "occupational hygienist").
job("Mitchel George", "advertising copywriter").
job("Nettie Barbee", "radiographer").
job("Rocco Lance", "mining engineer").
job("Rory George", "warden").
job("Royce Lo", "regulatory affairs officer").
job("Rudy Barbee", "location manager").
job("Solomon Rahman", "producer").
job("Tracey Kean", "teaching laboratory technician").
job("Twyla Parkinson", "orthoptist").
job("Tyrone Parkinson", "agricultural consultant").
job("Wallace Ragland", "quarry manager").
job("Walter Hope", "risk analyst").
job("Wanda Lo", "physiological scientist").
job("Wanita Hope", "equality and diversity officer").
job("Willie Parkinson", "firefighter").
job("Yasmin Ragland", "purchasing manager").
job("Ahmad Vansickle", "illustrator").
job("Albertine Thrower", "press photographer").
job("Alejandrina Thrower", "legal executive").
job("Andre Vansickle", "neurosurgeon").
job("Benny Guay", "IT sales professional").
job("Brain Thrower", "quarry manager").
job("Candice Bianchi", "veterinary surgeon").
job("Carmen Bianchi", "merchandiser").
job("Cesar Guay", "clinical scientist").
job("Chrissy Vansickle", "equities trader").
job("Concepcion Najera", "TEFL teacher").
job("Edgar Bianchi", "pension scheme manager").
job("Esperanza Bianchi", "outdoor activities manager").
job("Esperanza Ervin", "musician").
job("Eve Ervin", "artist").
job("Georgette Gebhart", "customer service manager").
job("Gertrude Guay", "dancer").
job("Hal Gebhart", "educational psychologist").
job("Jaime Veilleux", "animator").
job("Jim Bianchi", "barrister's clerk").
job("Joshua Ervin", "oceanographer").
job("Kendrick Sherrod", "chemical engineer").
job("Kristopher Veilleux", "animator").
job("Landon Ervin", "production designer").
job("Laurel Bianchi", "surveyor").
job("Laurel Guay", "animator").
job("Linwood Thrower", "advice worker").
job("Loraine Vansickle", "sports coach").
job("Lucas Bianchi", "scientific laboratory technician").
job("Lura Bianchi", "psychiatric nurse").
job("Maragret Bianchi", "water engineer").
job("Mauricio Vansickle", "professor emeritus").
job("Minerva Pennington", "loss adjuster").
job("Norris Sherrod", "sales promotion account executive").
job("Ollie Bianchi", "telecommunications researcher").
job("Philip Thrower", "music tutor").
job("Pricilla Pennington", "software engineer").
job("Raphael Ervin", "film editor").
job("Renea Thrower", "therapist").
job("Robby Pennington", "quarry manager").
job("Rosena Veilleux", "bookseller").
job("Roxy Guay", "public affairs consultant").
job("Roy Najera", "camera operator").
job("Sarita Bianchi", "artist").
job("Shante Najera", "secondary school teacher").
job("Shizuko Veilleux", "sports administrator").
job("Shon Guay", "radio producer").
job("Sylvester Sherrod", "seismic interpreter").
job("Twila Veilleux", "charity fundraiser").
job("Winnifred Sherrod", "museum education officer").
job("Zachary Guay", "artist").
job("Adella Stites", "catering manager").
job("Andrea Stites", "cabin crew").
job("Angel Kress", "print production planner").
job("Arthur Stites", "editorial assistant").
job("Casey Dow", "adult guidance worker").
job("Cherise Darling", "dance movement psychotherapist").
job("Chris Stites", "mechanical engineer").
job("Darrick Darling", "software engineer").
job("Deirdre Fries", "personnel officer").
job("Donnie Turgeon", "quarry manager").
job("Donovan Stites", "social worker").
job("Dwain Stites", "careers information officer").
job("Eddie Darling", "journalist").
job("Edmond Abney", "merchandiser").
job("Eldon Stites", "arts administrator").
job("Evelia Nelms", "careers information officer").
job("Giovanni Stites", "child psychotherapist").
job("Grant Stites", "chartered loss adjuster").
job("Harvey Stites", "corporate investment banker").
job("Hunter Darling", "fashion designer").
job("Ione Stites", "bonds trader").
job("Jewel Abney", "lecturer").
job("Jewell Stites", "advertising account planner").
job("Joanne Dow", "careers information officer").
job("Joel Fries", "translator").
job("Julio Nelms", "geochemist").
job("Kenny Southerland", "chartered legal executive").
job("Kent Turgeon", "therapist").
job("Kieth Dow", "medical illustrator").
job("Kisha Stites", "programme researcher").
job("Kris Stites", "financial controller").
job("Ladawn Turgeon", "pathologist").
job("Lawerence Stites", "seismic interpreter").
job("Leopoldo Stites", "technical author").
job("Marcel Abney", "leisure centre manager").
job("Margaret Turgeon", "sound technician").
job("Maxwell Deming", "pilot").
job("Mayra Stites", "IT technical support officer").
job("Minnie Darling", "social researcher").
job("Mitchell Darling", "video editor").
job("Nada Stites", "chief technology officer").
job("Nickolas Deming", "clothing technologist").
job("Oralia Kress", "analytical chemist").
job("Pansy Southerland", "health visitor").
job("Shamika Dow", "museum conservator").
job("Shirleen Stites", "plant breeder").
job("Staci Deming", "curator").
job("Tanya Darling", "chartered management accountant").
job("Tyrone Deming", "ambulance person").
job("Wayne Stites", "brewing technologist").
job("Wilmer Stites", "community arts worker").
job("Adella Mcbroom", "petroleum engineer").
job("Alina Huntley", "rural practice surveyor").
job("Allyson Brashear", "petroleum engineer").
job("Allyson Gorton", "legal secretary").
job("Anastacia Grigg", "herbalist").
job("Anneliese Brashear", "private music teacher").
job("Audie Dodge", "air broker").
job("Autumn Brashear", "chemist").
job("Barry Huntley", "therapist").
job("Bess Dodge", "minerals surveyor").
job("Booker Grigg", "computer games developer").
job("Brooks Huntley", "corporate treasurer").
job("Carmella Huntley", "textile designer").
job("Cleveland Mcbroom", "local government officer").
job("Dean Mcbroom", "building services engineer").
job("Demarcus Huntley", "surveyor").
job("Desiree Mcbroom", "public relations account executive").
job("Dorris Huntley", "lawyer").
job("Dudley Dodge", "oncologist").
job("Ezequiel Gorton", "senior tax professional").
job("Felipe Brashear", "textile designer").
job("Gwenn Mcbroom", "estate manager").
job("Harvey Mcbroom", "chief operating officer").
job("Jacquelyn Huntley", "chiropractor").
job("James Mcbroom", "chief technology officer").
job("Jordan Mcbroom", "herbalist").
job("Lissa Mcbroom", "media buyer").
job("Lowell Gorton", "secondary school teacher").
job("Maryann Mcbroom", "agricultural consultant").
job("Matt Mcbroom", "fashion designer").
job("Max Gorton", "acupuncturist").
job("Melvin Dodge", "clothing technologist").
job("Mervin Mcbroom", "building services engineer").
job("Mike Grigg", "purchasing manager").
job("Morgan Huntley", "medical technical officer").
job("Nydia Grigg", "broadcast presenter").
job("Oleta Mcbroom", "retail merchandiser").
job("Omar Grigg", "nutritional therapist").
job("Orlando Brashear", "therapeutic radiographer").
job("Randolph Grigg", "geographical information systems officer").
job("Rena Grigg", "computer games developer").
job("Reynaldo Brashear", "copy").
job("Sandy Mcbroom", "embryologist").
job("Shannon Grigg", "insurance account manager").
job("Shelton Dodge", "education administrator").
job("Sue Mcbroom", "maintenance engineer").
job("Tamara Mcbroom", "proofreader").
job("Theodore Grigg", "financial planner").
job("Tianna Brashear", "arts administrator").
job("Windy Gorton", "loss adjuster").
job("Zelma Mcbroom", "banker").

great_uncle(X, Y) :-
    grandparent(X, A),
    brother(A, Y).

:- dynamic save_all_clauses_to_file/1.

save_all_clauses_to_file(A) :-
    open(A, write, B),
    set_output(B),
    listing,
    close(B).

:- dynamic term_expansion/4.
:- multifile term_expansion/4.


grandchild(X, Y) :-
    grandparent(Y, X).

:- dynamic dob/2.

dob("Abdul Felker", "0895-03-24").
dob("Adolph Barbee", "0980-08-29").
dob("Alice Lance", "0951-04-07").
dob("Allie Barbee", "0928-07-23").
dob("Allison Barbee", "1005-06-23").
dob("Alvin Lance", "0950-05-19").
dob("Andres Barbee", "0977-09-16").
dob("Andrew Parkinson", "0952-04-16").
dob("Brooks George", "1006-06-23").
dob("Clint Rahman", "0866-11-02").
dob("Colette Rahman", "0861-05-02").
dob("Courtney Parkinson", "0954-06-24").
dob("Dalton Parkinson", "0984-02-16").
dob("Dollie Barbee", "0975-03-08").
dob("Elicia Barbee", "1040-03-27").
dob("Elyse Barbee", "1033-12-12").
dob("Emma George", "0978-10-20").
dob("Garth Kean", "0954-09-11").
dob("Guadalupe Barbee", "0950-11-19").
dob("Jenni Felker", "0896-03-17").
dob("Karolyn Lance", "0924-11-06").
dob("Kelley Barbee", "0952-08-19").
dob("Kenny Barbee", "0953-06-18").
dob("Kirk Lo", "1091-03-24").
dob("Konstantin Barbee", "1007-05-04").
dob("Korey Kean", "0984-12-02").
dob("Krystle Barbee", "1008-12-24").
dob("Kurt Parkinson", "0924-12-27").
dob("Latosha Rahman", "0840-02-22").
dob("Leonila Parkinson", "0924-09-18").
dob("Lesley Barbee", "1067-06-07").
dob("Lyndon Barbee", "1036-01-09").
dob("Marvin Hope", "1013-11-28").
dob("Merrill Kean", "0981-09-04").
dob("Mitchel George", "1007-06-03").
dob("Nettie Barbee", "1032-05-15").
dob("Rocco Lance", "0924-02-03").
dob("Rory George", "0974-12-02").
dob("Royce Lo", "1059-07-07").
dob("Rudy Barbee", "0927-04-02").
dob("Solomon Rahman", "0837-10-06").
dob("Tracey Kean", "0956-03-15").
dob("Twyla Parkinson", "0949-02-16").
dob("Tyrone Parkinson", "0982-10-06").
dob("Wallace Ragland", "0951-01-09").
dob("Walter Hope", "0980-04-11").
dob("Wanda Lo", "1059-03-28").
dob("Wanita Hope", "0977-12-27").
dob("Willie Parkinson", "0954-09-22").
dob("Yasmin Ragland", "0952-10-08").
dob("Ahmad Vansickle", "0993-08-22").
dob("Albertine Thrower", "0937-11-27").
dob("Alejandrina Thrower", "0913-03-27").
dob("Andre Vansickle", "1023-01-14").
dob("Benny Guay", "0967-12-07").
dob("Brain Thrower", "0914-08-21").
dob("Candice Bianchi", "0972-05-04").
dob("Carmen Bianchi", "0973-07-04").
dob("Cesar Guay", "0943-11-10").
dob("Chrissy Vansickle", "0996-09-22").
dob("Concepcion Najera", "0970-03-15").
dob("Edgar Bianchi", "0947-04-06").
dob("Esperanza Bianchi", "0894-11-11").
dob("Esperanza Ervin", "1005-08-13").
dob("Eve Ervin", "0973-09-08").
dob("Georgette Gebhart", "0903-01-10").
dob("Gertrude Guay", "0915-06-21").
dob("Hal Gebhart", "0903-10-03").
dob("Jaime Veilleux", "1036-02-05").
dob("Jim Bianchi", "0895-10-16").
dob("Joshua Ervin", "1003-03-26").
dob("Kendrick Sherrod", "1068-05-13").
dob("Kristopher Veilleux", "1068-05-01").
dob("Landon Ervin", "0975-04-15").
dob("Laurel Bianchi", "0974-01-03").
dob("Laurel Guay", "0941-08-21").
dob("Linwood Thrower", "0965-10-01").
dob("Loraine Vansickle", "0960-04-13").
dob("Lucas Bianchi", "0923-04-04").
dob("Lura Bianchi", "0945-08-20").
dob("Maragret Bianchi", "1000-02-09").
dob("Mauricio Vansickle", "0965-09-21").
dob("Minerva Pennington", "0992-06-19").
dob("Norris Sherrod", "1032-06-23").
dob("Ollie Bianchi", "0997-04-20").
dob("Philip Thrower", "0939-12-12").
dob("Pricilla Pennington", "0969-02-09").
dob("Raphael Ervin", "1032-04-29").
dob("Renea Thrower", "0969-02-09").
dob("Robby Pennington", "0968-05-13").
dob("Rosena Veilleux", "1039-12-18").
dob("Roxy Guay", "0969-01-11").
dob("Roy Najera", "0964-10-25").
dob("Sarita Bianchi", "0922-07-27").
dob("Shante Najera", "0999-05-20").
dob("Shizuko Veilleux", "1067-12-01").
dob("Shon Guay", "0915-06-10").
dob("Sylvester Sherrod", "1067-04-16").
dob("Twila Veilleux", "1091-12-30").
dob("Winnifred Sherrod", "1038-12-21").
dob("Zachary Guay", "0995-11-14").
dob("Adella Stites", "0929-11-14").
dob("Andrea Stites", "0916-09-15").
dob("Angel Kress", "0931-04-27").
dob("Arthur Stites", "0985-08-01").
dob("Casey Dow", "0844-06-14").
dob("Cherise Darling", "0898-01-01").
dob("Chris Stites", "1016-12-17").
dob("Darrick Darling", "0899-05-10").
dob("Deirdre Fries", "0903-02-08").
dob("Donnie Turgeon", "0899-05-11").
dob("Donovan Stites", "0983-03-13").
dob("Dwain Stites", "0957-07-07").
dob("Eddie Darling", "0893-11-22").
dob("Edmond Abney", "1049-11-07").
dob("Eldon Stites", "0896-03-26").
dob("Evelia Nelms", "0958-05-17").
dob("Giovanni Stites", "0956-06-27").
dob("Grant Stites", "0922-06-03").
dob("Harvey Stites", "0929-01-08").
dob("Hunter Darling", "0844-09-18").
dob("Ione Stites", "0954-01-04").
dob("Jewel Abney", "1020-02-06").
dob("Jewell Stites", "0954-09-29").
dob("Joanne Dow", "0845-03-14").
dob("Joel Fries", "0902-03-18").
dob("Julio Nelms", "0961-08-09").
dob("Kenny Southerland", "0989-09-01").
dob("Kent Turgeon", "0870-06-09").
dob("Kieth Dow", "0871-11-28").
dob("Kisha Stites", "0946-05-23").
dob("Kris Stites", "0924-02-04").
dob("Ladawn Turgeon", "0896-03-04").
dob("Lawerence Stites", "0918-07-10").
dob("Leopoldo Stites", "0962-05-14").
dob("Marcel Abney", "1021-04-07").
dob("Margaret Turgeon", "0866-12-20").
dob("Maxwell Deming", "1011-04-16").
dob("Mayra Stites", "0987-11-25").
dob("Minnie Darling", "0872-12-10").
dob("Mitchell Darling", "0872-11-25").
dob("Nada Stites", "0958-02-11").
dob("Nickolas Deming", "0981-11-03").
dob("Oralia Kress", "0927-03-20").
dob("Pansy Southerland", "0989-04-17").
dob("Shamika Dow", "0869-07-23").
dob("Shirleen Stites", "0896-03-08").
dob("Staci Deming", "0981-08-10").
dob("Tanya Darling", "0843-11-16").
dob("Tyrone Deming", "1010-05-03").
dob("Wayne Stites", "0952-10-12").
dob("Wilmer Stites", "0952-09-18").
dob("Adella Mcbroom", "0931-03-04").
dob("Alina Huntley", "0964-03-21").
dob("Allyson Brashear", "0880-07-14").
dob("Allyson Gorton", "0911-09-02").
dob("Anastacia Grigg", "0859-03-06").
dob("Anneliese Brashear", "0847-01-07").
dob("Audie Dodge", "0942-07-10").
dob("Autumn Brashear", "0907-06-05").
dob("Barry Huntley", "0963-10-11").
dob("Bess Dodge", "0910-10-09").
dob("Booker Grigg", "0887-02-21").
dob("Brooks Huntley", "0908-07-08").
dob("Carmella Huntley", "0933-02-05").
dob("Cleveland Mcbroom", "0904-08-21").
dob("Dean Mcbroom", "0853-01-05").
dob("Demarcus Huntley", "0934-05-19").
dob("Desiree Mcbroom", "0912-04-08").
dob("Dorris Huntley", "0995-07-31").
dob("Dudley Dodge", "0944-01-05").
dob("Ezequiel Gorton", "0909-07-23").
dob("Felipe Brashear", "0851-02-01").
dob("Gwenn Mcbroom", "0852-11-05").
dob("Harvey Mcbroom", "0910-11-20").
dob("Jacquelyn Huntley", "0910-09-09").
dob("James Mcbroom", "0825-09-17").
dob("Jordan Mcbroom", "0913-04-25").
dob("Lissa Mcbroom", "0880-12-13").
dob("Lowell Gorton", "0936-04-21").
dob("Maryann Mcbroom", "0943-10-04").
dob("Matt Mcbroom", "0880-05-18").
dob("Max Gorton", "0958-04-28").
dob("Melvin Dodge", "0909-06-22").
dob("Mervin Mcbroom", "0905-08-20").
dob("Mike Grigg", "0859-04-26").
dob("Morgan Huntley", "0965-08-09").
dob("Nydia Grigg", "0884-09-18").
dob("Oleta Mcbroom", "0929-05-08").
dob("Omar Grigg", "0914-09-09").
dob("Orlando Brashear", "0875-03-28").
dob("Randolph Grigg", "0967-04-26").
dob("Rena Grigg", "0915-02-16").
dob("Reynaldo Brashear", "0881-10-03").
dob("Sandy Mcbroom", "0904-08-08").
dob("Shannon Grigg", "0941-06-17").
dob("Shelton Dodge", "0935-02-28").
dob("Sue Mcbroom", "0906-05-07").
dob("Tamara Mcbroom", "0930-03-14").
dob("Theodore Grigg", "0940-05-06").
dob("Tianna Brashear", "0910-06-12").
dob("Windy Gorton", "0937-07-03").
dob("Zelma Mcbroom", "0823-09-13").

:- dynamic file_search_path/2.
:- multifile file_search_path/2.

file_search_path(library, Dir) :-
    library_directory(Dir).
file_search_path(swi, A) :-
    system:current_prolog_flag(home, A).
file_search_path(swi, A) :-
    system:current_prolog_flag(shared_home, A).
file_search_path(library, app_config(lib)).
file_search_path(library, swi(library)).
file_search_path(library, swi(library/clp)).
file_search_path(library, A) :-
    system:'$ext_library_directory'(A).
file_search_path(foreign, swi(A)) :-
    system:
    (   current_prolog_flag(apple_universal_binary, true),
        A='lib/fat-darwin'
    ).
file_search_path(path, A) :-
    system:
    (   getenv('PATH', B),
        current_prolog_flag(path_sep, C),
        atomic_list_concat(D, C, B),
        '$member'(A, D)
    ).
file_search_path(user_app_data, A) :-
    system:'$xdg_prolog_directory'(data, A).
file_search_path(common_app_data, A) :-
    system:'$xdg_prolog_directory'(common_data, A).
file_search_path(user_app_config, A) :-
    system:'$xdg_prolog_directory'(config, A).
file_search_path(common_app_config, A) :-
    system:'$xdg_prolog_directory'(common_config, A).
file_search_path(app_data, user_app_data('.')).
file_search_path(app_data, common_app_data('.')).
file_search_path(app_config, user_app_config('.')).
file_search_path(app_config, common_app_config('.')).
file_search_path(app_preferences, user_app_config('.')).
file_search_path(user_profile, app_preferences('.')).
file_search_path(app, swi(app)).
file_search_path(app, app_data(app)).
file_search_path(autoload, swi(library)).
file_search_path(autoload, pce(prolog/lib)).
file_search_path(autoload, app_config(lib)).
file_search_path(autoload, Dir) :-
    '$autoload':'$ext_library_directory'(Dir).
file_search_path(pack, app_data(pack)).
file_search_path(library, PackLib) :-
    '$pack':pack_dir(_Name, prolog, PackLib).
file_search_path(foreign, PackLib) :-
    '$pack':pack_dir(_Name, foreign, PackLib).
file_search_path(app, AppDir) :-
    '$pack':pack_dir(_Name, app, AppDir).

:- multifile prolog_list_goal/1.


:- dynamic type/2.

type("Abdul Felker", person).
type("Adolph Barbee", person).
type("Alice Lance", person).
type("Allie Barbee", person).
type("Allison Barbee", person).
type("Alvin Lance", person).
type("Andres Barbee", person).
type("Andrew Parkinson", person).
type("Brooks George", person).
type("Clint Rahman", person).
type("Colette Rahman", person).
type("Courtney Parkinson", person).
type("Dalton Parkinson", person).
type("Dollie Barbee", person).
type("Elicia Barbee", person).
type("Elyse Barbee", person).
type("Emma George", person).
type("Garth Kean", person).
type("Guadalupe Barbee", person).
type("Jenni Felker", person).
type("Karolyn Lance", person).
type("Kelley Barbee", person).
type("Kenny Barbee", person).
type("Kirk Lo", person).
type("Konstantin Barbee", person).
type("Korey Kean", person).
type("Krystle Barbee", person).
type("Kurt Parkinson", person).
type("Latosha Rahman", person).
type("Leonila Parkinson", person).
type("Lesley Barbee", person).
type("Lyndon Barbee", person).
type("Marvin Hope", person).
type("Merrill Kean", person).
type("Mitchel George", person).
type("Nettie Barbee", person).
type("Rocco Lance", person).
type("Rory George", person).
type("Royce Lo", person).
type("Rudy Barbee", person).
type("Solomon Rahman", person).
type("Tracey Kean", person).
type("Twyla Parkinson", person).
type("Tyrone Parkinson", person).
type("Wallace Ragland", person).
type("Walter Hope", person).
type("Wanda Lo", person).
type("Wanita Hope", person).
type("Willie Parkinson", person).
type("Yasmin Ragland", person).
type("Ahmad Vansickle", person).
type("Albertine Thrower", person).
type("Alejandrina Thrower", person).
type("Andre Vansickle", person).
type("Benny Guay", person).
type("Brain Thrower", person).
type("Candice Bianchi", person).
type("Carmen Bianchi", person).
type("Cesar Guay", person).
type("Chrissy Vansickle", person).
type("Concepcion Najera", person).
type("Edgar Bianchi", person).
type("Esperanza Bianchi", person).
type("Esperanza Ervin", person).
type("Eve Ervin", person).
type("Georgette Gebhart", person).
type("Gertrude Guay", person).
type("Hal Gebhart", person).
type("Jaime Veilleux", person).
type("Jim Bianchi", person).
type("Joshua Ervin", person).
type("Kendrick Sherrod", person).
type("Kristopher Veilleux", person).
type("Landon Ervin", person).
type("Laurel Bianchi", person).
type("Laurel Guay", person).
type("Linwood Thrower", person).
type("Loraine Vansickle", person).
type("Lucas Bianchi", person).
type("Lura Bianchi", person).
type("Maragret Bianchi", person).
type("Mauricio Vansickle", person).
type("Minerva Pennington", person).
type("Norris Sherrod", person).
type("Ollie Bianchi", person).
type("Philip Thrower", person).
type("Pricilla Pennington", person).
type("Raphael Ervin", person).
type("Renea Thrower", person).
type("Robby Pennington", person).
type("Rosena Veilleux", person).
type("Roxy Guay", person).
type("Roy Najera", person).
type("Sarita Bianchi", person).
type("Shante Najera", person).
type("Shizuko Veilleux", person).
type("Shon Guay", person).
type("Sylvester Sherrod", person).
type("Twila Veilleux", person).
type("Winnifred Sherrod", person).
type("Zachary Guay", person).
type("Adella Stites", person).
type("Andrea Stites", person).
type("Angel Kress", person).
type("Arthur Stites", person).
type("Casey Dow", person).
type("Cherise Darling", person).
type("Chris Stites", person).
type("Darrick Darling", person).
type("Deirdre Fries", person).
type("Donnie Turgeon", person).
type("Donovan Stites", person).
type("Dwain Stites", person).
type("Eddie Darling", person).
type("Edmond Abney", person).
type("Eldon Stites", person).
type("Evelia Nelms", person).
type("Giovanni Stites", person).
type("Grant Stites", person).
type("Harvey Stites", person).
type("Hunter Darling", person).
type("Ione Stites", person).
type("Jewel Abney", person).
type("Jewell Stites", person).
type("Joanne Dow", person).
type("Joel Fries", person).
type("Julio Nelms", person).
type("Kenny Southerland", person).
type("Kent Turgeon", person).
type("Kieth Dow", person).
type("Kisha Stites", person).
type("Kris Stites", person).
type("Ladawn Turgeon", person).
type("Lawerence Stites", person).
type("Leopoldo Stites", person).
type("Marcel Abney", person).
type("Margaret Turgeon", person).
type("Maxwell Deming", person).
type("Mayra Stites", person).
type("Minnie Darling", person).
type("Mitchell Darling", person).
type("Nada Stites", person).
type("Nickolas Deming", person).
type("Oralia Kress", person).
type("Pansy Southerland", person).
type("Shamika Dow", person).
type("Shirleen Stites", person).
type("Staci Deming", person).
type("Tanya Darling", person).
type("Tyrone Deming", person).
type("Wayne Stites", person).
type("Wilmer Stites", person).
type("Adella Mcbroom", person).
type("Alina Huntley", person).
type("Allyson Brashear", person).
type("Allyson Gorton", person).
type("Anastacia Grigg", person).
type("Anneliese Brashear", person).
type("Audie Dodge", person).
type("Autumn Brashear", person).
type("Barry Huntley", person).
type("Bess Dodge", person).
type("Booker Grigg", person).
type("Brooks Huntley", person).
type("Carmella Huntley", person).
type("Cleveland Mcbroom", person).
type("Dean Mcbroom", person).
type("Demarcus Huntley", person).
type("Desiree Mcbroom", person).
type("Dorris Huntley", person).
type("Dudley Dodge", person).
type("Ezequiel Gorton", person).
type("Felipe Brashear", person).
type("Gwenn Mcbroom", person).
type("Harvey Mcbroom", person).
type("Jacquelyn Huntley", person).
type("James Mcbroom", person).
type("Jordan Mcbroom", person).
type("Lissa Mcbroom", person).
type("Lowell Gorton", person).
type("Maryann Mcbroom", person).
type("Matt Mcbroom", person).
type("Max Gorton", person).
type("Melvin Dodge", person).
type("Mervin Mcbroom", person).
type("Mike Grigg", person).
type("Morgan Huntley", person).
type("Nydia Grigg", person).
type("Oleta Mcbroom", person).
type("Omar Grigg", person).
type("Orlando Brashear", person).
type("Randolph Grigg", person).
type("Rena Grigg", person).
type("Reynaldo Brashear", person).
type("Sandy Mcbroom", person).
type("Shannon Grigg", person).
type("Shelton Dodge", person).
type("Sue Mcbroom", person).
type("Tamara Mcbroom", person).
type("Theodore Grigg", person).
type("Tianna Brashear", person).
type("Windy Gorton", person).
type("Zelma Mcbroom", person).

grandfather(X, Y) :-
    grandparent(X, Y),
    male(Y).

:- dynamic expand_query/4.
:- multifile expand_query/4.


:- dynamic attribute/1.

attribute("police officer").
attribute("birdwatching").
attribute("community education officer").
attribute("geography").
attribute("herbalist").
attribute("research").
attribute("podiatrist").
attribute("audiophile").
attribute("prison officer").
attribute("knowledge/word games").
attribute("animal technologist").
attribute("geocaching").
attribute("leisure centre manager").
attribute("croquet").
attribute("speech and language therapist").
attribute("badminton").
attribute("dietitian").
attribute("fossil hunting").
attribute("amenity horticulturist").
attribute("rail transport modelling").
attribute("theatre stage manager").
attribute("jujitsu").
attribute("hydrologist").
attribute("beauty pageants").
attribute("learning mentor").
attribute("softball").
attribute("location manager").
attribute("golfing").
attribute("chartered management accountant").
attribute("inline skating").
attribute("plant breeder").
attribute("radio-controlled model collecting").
attribute("advertising account executive").
attribute("videography").
attribute("tourism officer").
attribute("butterfly watching").
attribute("civil service fast streamer").
attribute("learning").
attribute("designer").
attribute("business").
attribute("development worker").
attribute("curling").
attribute("tourist information centre manager").
attribute("magnet fishing").
attribute("community education officer").
attribute("pickleball").
attribute("farm manager").
attribute("shuffleboard").
attribute("doctor").
attribute("geocaching").
attribute("newspaper journalist").
attribute("trade fair visiting").
attribute("customer service manager").
attribute("lapel pins").
attribute("public house manager").
attribute("rock balancing").
attribute("exercise physiologist").
attribute("breakdancing").
attribute("early years teacher").
attribute("audiophile").
attribute("chief executive officer").
attribute("dairy farming").
attribute("bookseller").
attribute("research").
attribute("physiotherapist").
attribute("mineral collecting").
attribute("occupational hygienist").
attribute("research").
attribute("advertising copywriter").
attribute("mineral collecting").
attribute("radiographer").
attribute("learning").
attribute("mining engineer").
attribute("magnet fishing").
attribute("warden").
attribute("whale watching").
attribute("regulatory affairs officer").
attribute("research").
attribute("location manager").
attribute("fusilately").
attribute("producer").
attribute("shortwave listening").
attribute("teaching laboratory technician").
attribute("microscopy").
attribute("orthoptist").
attribute("life science").
attribute("agricultural consultant").
attribute("meditation").
attribute("quarry manager").
attribute("science and technology studies").
attribute("risk analyst").
attribute("frisbee").
attribute("physiological scientist").
attribute("satellite watching").
attribute("equality and diversity officer").
attribute("chemistry").
attribute("firefighter").
attribute("ballet dancing").
attribute("purchasing manager").
attribute("antiquities").
attribute("illustrator").
attribute("rock balancing").
attribute("press photographer").
attribute("leaves").
attribute("legal executive").
attribute("table football").
attribute("neurosurgeon").
attribute("shogi").
attribute("IT sales professional").
attribute("learning").
attribute("quarry manager").
attribute("radio-controlled model playing").
attribute("veterinary surgeon").
attribute("whale watching").
attribute("merchandiser").
attribute("sociology").
attribute("clinical scientist").
attribute("people-watching").
attribute("equities trader").
attribute("bowling").
attribute("TEFL teacher").
attribute("city trip").
attribute("pension scheme manager").
attribute("ant farming").
attribute("outdoor activities manager").
attribute("whale watching").
attribute("musician").
attribute("button collecting").
attribute("artist").
attribute("archaeology").
attribute("customer service manager").
attribute("herping").
attribute("dancer").
attribute("audiophile").
attribute("educational psychologist").
attribute("fencing").
attribute("animator").
attribute("magnet fishing").
attribute("barrister's clerk").
attribute("mineral collecting").
attribute("oceanographer").
attribute("table tennis").
attribute("chemical engineer").
attribute("shortwave listening").
attribute("animator").
attribute("geocaching").
attribute("production designer").
attribute("physics").
attribute("surveyor").
attribute("polo").
attribute("animator").
attribute("lotology").
attribute("advice worker").
attribute("stone collecting").
attribute("sports coach").
attribute("flower collecting and pressing").
attribute("scientific laboratory technician").
attribute("research").
attribute("psychiatric nurse").
attribute("netball").
attribute("water engineer").
attribute("architecture").
attribute("professor emeritus").
attribute("bus spotting").
attribute("loss adjuster").
attribute("shortwave listening").
attribute("sales promotion account executive").
attribute("radio-controlled model playing").
attribute("telecommunications researcher").
attribute("archaeology").
attribute("music tutor").
attribute("geography").
attribute("software engineer").
attribute("audiophile").
attribute("film editor").
attribute("sea glass collecting").
attribute("therapist").
attribute("auto audiophilia").
attribute("quarry manager").
attribute("aircraft spotting").
attribute("bookseller").
attribute("stone collecting").
attribute("public affairs consultant").
attribute("fencing").
attribute("camera operator").
attribute("cribbage").
attribute("artist").
attribute("ant-keeping").
attribute("secondary school teacher").
attribute("skateboarding").
attribute("sports administrator").
attribute("herbalism").
attribute("radio producer").
attribute("satellite watching").
attribute("seismic interpreter").
attribute("airsoft").
attribute("charity fundraiser").
attribute("beekeeping").
attribute("museum education officer").
attribute("darts").
attribute("artist").
attribute("photography").
attribute("catering manager").
attribute("bus spotting").
attribute("cabin crew").
attribute("laser tag").
attribute("print production planner").
attribute("geography").
attribute("editorial assistant").
attribute("powerboat racing").
attribute("adult guidance worker").
attribute("shortwave listening").
attribute("dance movement psychotherapist").
attribute("backgammon").
attribute("mechanical engineer").
attribute("disc golf").
attribute("software engineer").
attribute("nordic skating").
attribute("personnel officer").
attribute("shopping").
attribute("quarry manager").
attribute("auto racing").
attribute("social worker").
attribute("benchmarking").
attribute("careers information officer").
attribute("microbiology").
attribute("journalist").
attribute("research").
attribute("merchandiser").
attribute("tennis").
attribute("arts administrator").
attribute("surfing").
attribute("careers information officer").
attribute("sports memorabilia").
attribute("child psychotherapist").
attribute("backgammon").
attribute("chartered loss adjuster").
attribute("meteorology").
attribute("corporate investment banker").
attribute("whale watching").
attribute("fashion designer").
attribute("beekeeping").
attribute("bonds trader").
attribute("entrepreneurship").
attribute("lecturer").
attribute("railway studies").
attribute("advertising account planner").
attribute("mathematics").
attribute("careers information officer").
attribute("leaves").
attribute("translator").
attribute("sea glass collecting").
attribute("geochemist").
attribute("snowboarding").
attribute("chartered legal executive").
attribute("trainspotting").
attribute("therapist").
attribute("sea glass collecting").
attribute("medical illustrator").
attribute("learning").
attribute("programme researcher").
attribute("meteorology").
attribute("financial controller").
attribute("microscopy").
attribute("pathologist").
attribute("publishing").
attribute("seismic interpreter").
attribute("aircraft spotting").
attribute("technical author").
attribute("research").
attribute("leisure centre manager").
attribute("tour skating").
attribute("sound technician").
attribute("science and technology studies").
attribute("pilot").
attribute("cycling").
attribute("IT technical support officer").
attribute("meditation").
attribute("social researcher").
attribute("fossil hunting").
attribute("video editor").
attribute("auto audiophilia").
attribute("chief technology officer").
attribute("antiquities").
attribute("clothing technologist").
attribute("engineering").
attribute("analytical chemist").
attribute("butterfly watching").
attribute("health visitor").
attribute("ant farming").
attribute("museum conservator").
attribute("fishkeeping").
attribute("plant breeder").
attribute("knife collecting").
attribute("curator").
attribute("sea glass collecting").
attribute("chartered management accountant").
attribute("auto audiophilia").
attribute("ambulance person").
attribute("publishing").
attribute("brewing technologist").
attribute("vintage cars").
attribute("community arts worker").
attribute("exhibition drill").
attribute("petroleum engineer").
attribute("microscopy").
attribute("rural practice surveyor").
attribute("insect collecting").
attribute("petroleum engineer").
attribute("reading").
attribute("legal secretary").
attribute("beach volleyball").
attribute("herbalist").
attribute("squash").
attribute("private music teacher").
attribute("whale watching").
attribute("air broker").
attribute("mineral collecting").
attribute("chemist").
attribute("reading").
attribute("therapist").
attribute("table football").
attribute("minerals surveyor").
attribute("equestrianism").
attribute("computer games developer").
attribute("car riding").
attribute("corporate treasurer").
attribute("hobby horsing").
attribute("textile designer").
attribute("jujitsu").
attribute("local government officer").
attribute("publishing").
attribute("building services engineer").
attribute("geocaching").
attribute("surveyor").
attribute("social studies").
attribute("public relations account executive").
attribute("shortwave listening").
attribute("lawyer").
attribute("birdwatching").
attribute("oncologist").
attribute("deltiology").
attribute("senior tax professional").
attribute("leaves").
attribute("textile designer").
attribute("fishkeeping").
attribute("estate manager").
attribute("butterfly watching").
attribute("chief operating officer").
attribute("publishing").
attribute("chiropractor").
attribute("biology").
attribute("chief technology officer").
attribute("movie memorabilia collecting").
attribute("herbalist").
attribute("butterfly watching").
attribute("media buyer").
attribute("myrmecology").
attribute("secondary school teacher").
attribute("seashell collecting").
attribute("agricultural consultant").
attribute("shoes").
attribute("fashion designer").
attribute("research").
attribute("acupuncturist").
attribute("amateur astronomy").
attribute("clothing technologist").
attribute("bowling").
attribute("building services engineer").
attribute("ant-keeping").
attribute("purchasing manager").
attribute("herping").
attribute("medical technical officer").
attribute("shortwave listening").
attribute("broadcast presenter").
attribute("aircraft spotting").
attribute("retail merchandiser").
attribute("lacrosse").
attribute("nutritional therapist").
attribute("horseshoes").
attribute("therapeutic radiographer").
attribute("seashell collecting").
attribute("geographical information systems officer").
attribute("flying").
attribute("computer games developer").
attribute("pinball").
attribute("copy").
attribute("crystals").
attribute("embryologist").
attribute("antiquities").
attribute("insurance account manager").
attribute("shoes").
attribute("education administrator").
attribute("association football").
attribute("maintenance engineer").
attribute("horseback riding").
attribute("proofreader").
attribute("fossil hunting").
attribute("financial planner").
attribute("lapel pins").
attribute("arts administrator").
attribute("transit map collecting").
attribute("loss adjuster").
attribute("driving").
attribute("banker").
attribute("larping").

great_aunt(X, Y) :-
    grandparent(X, A),
    sister(A, Y).

grandparent(X, Y) :-
    parent(X, Z),
    parent(Z, Y).

grandmother(X, Y) :-
    grandparent(X, Y),
    female(Y).

:- dynamic friend_/2.

friend_("Abdul Felker", "Garth Kean").
friend_("Abdul Felker", "Kirk Lo").
friend_("Abdul Felker", "Eve Ervin").
friend_("Abdul Felker", "Winnifred Sherrod").
friend_("Abdul Felker", "Marcel Abney").
friend_("Adolph Barbee", "Concepcion Najera").
friend_("Adolph Barbee", "Shannon Grigg").
friend_("Alice Lance", "Kenny Barbee").
friend_("Alice Lance", "Renea Thrower").
friend_("Alice Lance", "Kent Turgeon").
friend_("Alice Lance", "Jordan Mcbroom").
friend_("Alice Lance", "Maryann Mcbroom").
friend_("Alice Lance", "Shelton Dodge").
friend_("Allie Barbee", "Allison Barbee").
friend_("Allie Barbee", "Solomon Rahman").
friend_("Allie Barbee", "Twila Veilleux").
friend_("Allison Barbee", "Solomon Rahman").
friend_("Allison Barbee", "Tracey Kean").
friend_("Alvin Lance", "Leonila Parkinson").
friend_("Alvin Lance", "Albertine Thrower").
friend_("Alvin Lance", "Kenny Southerland").
friend_("Andres Barbee", "Edgar Bianchi").
friend_("Andres Barbee", "Georgette Gebhart").
friend_("Andrew Parkinson", "Tyrone Parkinson").
friend_("Andrew Parkinson", "Chrissy Vansickle").
friend_("Andrew Parkinson", "Kristopher Veilleux").
friend_("Andrew Parkinson", "Casey Dow").
friend_("Andrew Parkinson", "Hunter Darling").
friend_("Andrew Parkinson", "Jewel Abney").
friend_("Brooks George", "Albertine Thrower").
friend_("Brooks George", "Edgar Bianchi").
friend_("Brooks George", "Esperanza Ervin").
friend_("Brooks George", "Maxwell Deming").
friend_("Brooks George", "Anastacia Grigg").
friend_("Brooks George", "Dudley Dodge").
friend_("Colette Rahman", "Albertine Thrower").
friend_("Colette Rahman", "Carmella Huntley").
friend_("Colette Rahman", "Rena Grigg").
friend_("Dalton Parkinson", "Alejandrina Thrower").
friend_("Dalton Parkinson", "Jordan Mcbroom").
friend_("Dollie Barbee", "Winnifred Sherrod").
friend_("Elicia Barbee", "Norris Sherrod").
friend_("Elicia Barbee", "Joel Fries").
friend_("Elicia Barbee", "Anneliese Brashear").
friend_("Elicia Barbee", "Matt Mcbroom").
friend_("Elyse Barbee", "Krystle Barbee").
friend_("Elyse Barbee", "Joshua Ervin").
friend_("Elyse Barbee", "Dwain Stites").
friend_("Elyse Barbee", "Ladawn Turgeon").
friend_("Emma George", "Kristopher Veilleux").
friend_("Emma George", "Shizuko Veilleux").
friend_("Emma George", "Giovanni Stites").
friend_("Garth Kean", "Rocco Lance").
friend_("Garth Kean", "Audie Dodge").
friend_("Guadalupe Barbee", "Carmen Bianchi").
friend_("Guadalupe Barbee", "Pricilla Pennington").
friend_("Guadalupe Barbee", "Roxy Guay").
friend_("Guadalupe Barbee", "Harvey Stites").
friend_("Jenni Felker", "Cesar Guay").
friend_("Jenni Felker", "Darrick Darling").
friend_("Jenni Felker", "Eddie Darling").
friend_("Jenni Felker", "Kisha Stites").
friend_("Jenni Felker", "Alina Huntley").
friend_("Karolyn Lance", "Marvin Hope").
friend_("Karolyn Lance", "Rory George").
friend_("Karolyn Lance", "Candice Bianchi").
friend_("Karolyn Lance", "Carmen Bianchi").
friend_("Karolyn Lance", "Georgette Gebhart").
friend_("Karolyn Lance", "Jewell Stites").
friend_("Karolyn Lance", "Maxwell Deming").
friend_("Kelley Barbee", "Philip Thrower").
friend_("Kelley Barbee", "Kris Stites").
friend_("Kenny Barbee", "Shante Najera").
friend_("Kenny Barbee", "Donovan Stites").
friend_("Kirk Lo", "Konstantin Barbee").
friend_("Kirk Lo", "Donovan Stites").
friend_("Korey Kean", "Tyrone Parkinson").
friend_("Korey Kean", "Chrissy Vansickle").
friend_("Korey Kean", "Shante Najera").
friend_("Korey Kean", "Casey Dow").
friend_("Krystle Barbee", "Evelia Nelms").
friend_("Krystle Barbee", "Lawerence Stites").
friend_("Krystle Barbee", "Oralia Kress").
friend_("Kurt Parkinson", "Marvin Hope").
friend_("Kurt Parkinson", "Autumn Brashear").
friend_("Kurt Parkinson", "Carmella Huntley").
friend_("Kurt Parkinson", "Max Gorton").
friend_("Kurt Parkinson", "Shannon Grigg").
friend_("Latosha Rahman", "Maragret Bianchi").
friend_("Latosha Rahman", "Shante Najera").
friend_("Latosha Rahman", "Angel Kress").
friend_("Latosha Rahman", "Bess Dodge").
friend_("Leonila Parkinson", "Marvin Hope").
friend_("Leonila Parkinson", "Deirdre Fries").
friend_("Leonila Parkinson", "Eldon Stites").
friend_("Lesley Barbee", "Loraine Vansickle").
friend_("Lesley Barbee", "Joanne Dow").
friend_("Lesley Barbee", "Bess Dodge").
friend_("Lyndon Barbee", "Andrea Stites").
friend_("Lyndon Barbee", "James Mcbroom").
friend_("Marvin Hope", "Lura Bianchi").
friend_("Marvin Hope", "Audie Dodge").
friend_("Marvin Hope", "Matt Mcbroom").
friend_("Marvin Hope", "Shannon Grigg").
friend_("Merrill Kean", "Mauricio Vansickle").
friend_("Merrill Kean", "Harvey Stites").
friend_("Merrill Kean", "Barry Huntley").
friend_("Merrill Kean", "Oleta Mcbroom").
friend_("Mitchel George", "Rena Grigg").
friend_("Nettie Barbee", "Sarita Bianchi").
friend_("Rory George", "Candice Bianchi").
friend_("Rory George", "Carmen Bianchi").
friend_("Rory George", "Rosena Veilleux").
friend_("Rory George", "Hunter Darling").
friend_("Rory George", "Tianna Brashear").
friend_("Royce Lo", "Matt Mcbroom").
friend_("Rudy Barbee", "Randolph Grigg").
friend_("Solomon Rahman", "Raphael Ervin").
friend_("Solomon Rahman", "Lawerence Stites").
friend_("Solomon Rahman", "Audie Dodge").
friend_("Twyla Parkinson", "Brain Thrower").
friend_("Twyla Parkinson", "Ladawn Turgeon").
friend_("Twyla Parkinson", "Mayra Stites").
friend_("Twyla Parkinson", "Brooks Huntley").
friend_("Twyla Parkinson", "Desiree Mcbroom").
friend_("Twyla Parkinson", "Lissa Mcbroom").
friend_("Twyla Parkinson", "Oleta Mcbroom").
friend_("Twyla Parkinson", "Sue Mcbroom").
friend_("Twyla Parkinson", "Windy Gorton").
friend_("Tyrone Parkinson", "Wanita Hope").
friend_("Tyrone Parkinson", "Chrissy Vansickle").
friend_("Tyrone Parkinson", "Concepcion Najera").
friend_("Tyrone Parkinson", "Margaret Turgeon").
friend_("Tyrone Parkinson", "Anneliese Brashear").
friend_("Wallace Ragland", "Kristopher Veilleux").
friend_("Walter Hope", "Margaret Turgeon").
friend_("Wanda Lo", "Bess Dodge").
friend_("Wanita Hope", "Margaret Turgeon").
friend_("Willie Parkinson", "Kisha Stites").
friend_("Willie Parkinson", "Lawerence Stites").
friend_("Yasmin Ragland", "Jewel Abney").
friend_("Yasmin Ragland", "Nickolas Deming").
friend_("Yasmin Ragland", "Felipe Brashear").
friend_("Yasmin Ragland", "Morgan Huntley").
friend_("Ahmad Vansickle", "Robby Pennington").
friend_("Albertine Thrower", "Jewel Abney").
friend_("Alejandrina Thrower", "Edmond Abney").
friend_("Alejandrina Thrower", "Morgan Huntley").
friend_("Andre Vansickle", "Maragret Bianchi").
friend_("Andre Vansickle", "Kisha Stites").
friend_("Andre Vansickle", "Nada Stites").
friend_("Benny Guay", "Giovanni Stites").
friend_("Benny Guay", "Kieth Dow").
friend_("Benny Guay", "Autumn Brashear").
friend_("Benny Guay", "Rena Grigg").
friend_("Brain Thrower", "Oleta Mcbroom").
friend_("Candice Bianchi", "Renea Thrower").
friend_("Carmen Bianchi", "Ollie Bianchi").
friend_("Cesar Guay", "Landon Ervin").
friend_("Cesar Guay", "Giovanni Stites").
friend_("Cesar Guay", "Margaret Turgeon").
friend_("Chrissy Vansickle", "Anneliese Brashear").
friend_("Chrissy Vansickle", "Matt Mcbroom").
friend_("Concepcion Najera", "Winnifred Sherrod").
friend_("Edgar Bianchi", "Darrick Darling").
friend_("Edgar Bianchi", "Shirleen Stites").
friend_("Edgar Bianchi", "Mervin Mcbroom").
friend_("Esperanza Bianchi", "Cleveland Mcbroom").
friend_("Esperanza Ervin", "Marcel Abney").
friend_("Esperanza Ervin", "Gwenn Mcbroom").
friend_("Esperanza Ervin", "Windy Gorton").
friend_("Eve Ervin", "Twila Veilleux").
friend_("Eve Ervin", "Ione Stites").
friend_("Georgette Gebhart", "Kisha Stites").
friend_("Gertrude Guay", "Roxy Guay").
friend_("Gertrude Guay", "Hunter Darling").
friend_("Gertrude Guay", "Shamika Dow").
friend_("Gertrude Guay", "Jordan Mcbroom").
friend_("Hal Gebhart", "Loraine Vansickle").
friend_("Jaime Veilleux", "Chris Stites").
friend_("Jim Bianchi", "Laurel Bianchi").
friend_("Jim Bianchi", "Rosena Veilleux").
friend_("Jim Bianchi", "Sarita Bianchi").
friend_("Jim Bianchi", "Jewel Abney").
friend_("Jim Bianchi", "Sandy Mcbroom").
friend_("Joshua Ervin", "Leopoldo Stites").
friend_("Kendrick Sherrod", "Morgan Huntley").
friend_("Kristopher Veilleux", "Staci Deming").
friend_("Kristopher Veilleux", "Allyson Brashear").
friend_("Kristopher Veilleux", "Mike Grigg").
friend_("Landon Ervin", "Bess Dodge").
friend_("Laurel Bianchi", "Casey Dow").
friend_("Laurel Bianchi", "Kieth Dow").
friend_("Laurel Bianchi", "Jordan Mcbroom").
friend_("Laurel Bianchi", "Oleta Mcbroom").
friend_("Linwood Thrower", "Raphael Ervin").
friend_("Linwood Thrower", "Evelia Nelms").
friend_("Linwood Thrower", "Alina Huntley").
friend_("Linwood Thrower", "Melvin Dodge").
friend_("Loraine Vansickle", "Roy Najera").
friend_("Loraine Vansickle", "Jordan Mcbroom").
friend_("Lucas Bianchi", "Kent Turgeon").
friend_("Lucas Bianchi", "Dean Mcbroom").
friend_("Lura Bianchi", "Grant Stites").
friend_("Lura Bianchi", "Mike Grigg").
friend_("Mauricio Vansickle", "Philip Thrower").
friend_("Mauricio Vansickle", "Angel Kress").
friend_("Mauricio Vansickle", "Harvey Stites").
friend_("Mauricio Vansickle", "Tamara Mcbroom").
friend_("Minerva Pennington", "Kieth Dow").
friend_("Norris Sherrod", "Darrick Darling").
friend_("Norris Sherrod", "Jewel Abney").
friend_("Norris Sherrod", "Nickolas Deming").
friend_("Norris Sherrod", "Tyrone Deming").
friend_("Norris Sherrod", "Jordan Mcbroom").
friend_("Norris Sherrod", "Max Gorton").
friend_("Ollie Bianchi", "Philip Thrower").
friend_("Ollie Bianchi", "Kent Turgeon").
friend_("Philip Thrower", "Mitchell Darling").
friend_("Philip Thrower", "Demarcus Huntley").
friend_("Pricilla Pennington", "Kent Turgeon").
friend_("Pricilla Pennington", "Ladawn Turgeon").
friend_("Pricilla Pennington", "Shirleen Stites").
friend_("Raphael Ervin", "Kent Turgeon").
friend_("Renea Thrower", "Ladawn Turgeon").
friend_("Renea Thrower", "Lowell Gorton").
friend_("Renea Thrower", "Mike Grigg").
friend_("Robby Pennington", "Alina Huntley").
friend_("Robby Pennington", "Tamara Mcbroom").
friend_("Rosena Veilleux", "Anastacia Grigg").
friend_("Rosena Veilleux", "Tianna Brashear").
friend_("Sarita Bianchi", "Oralia Kress").
friend_("Sarita Bianchi", "Sandy Mcbroom").
friend_("Shante Najera", "Gwenn Mcbroom").
friend_("Shizuko Veilleux", "Mayra Stites").
friend_("Shizuko Veilleux", "Dudley Dodge").
friend_("Sylvester Sherrod", "Staci Deming").
friend_("Twila Veilleux", "Oralia Kress").
friend_("Twila Veilleux", "Rena Grigg").
friend_("Adella Stites", "Dudley Dodge").
friend_("Andrea Stites", "Maxwell Deming").
friend_("Andrea Stites", "Nada Stites").
friend_("Andrea Stites", "Wilmer Stites").
friend_("Angel Kress", "Carmella Huntley").
friend_("Casey Dow", "Kris Stites").
friend_("Casey Dow", "Maryann Mcbroom").
friend_("Cherise Darling", "Rena Grigg").
friend_("Cherise Darling", "Tamara Mcbroom").
friend_("Chris Stites", "Dean Mcbroom").
friend_("Chris Stites", "Ezequiel Gorton").
friend_("Deirdre Fries", "Harvey Mcbroom").
friend_("Donovan Stites", "Julio Nelms").
friend_("Donovan Stites", "Felipe Brashear").
friend_("Dwain Stites", "Mayra Stites").
friend_("Edmond Abney", "Audie Dodge").
friend_("Edmond Abney", "Dudley Dodge").
friend_("Evelia Nelms", "Kisha Stites").
friend_("Evelia Nelms", "Lowell Gorton").
friend_("Evelia Nelms", "Windy Gorton").
friend_("Grant Stites", "Hunter Darling").
friend_("Grant Stites", "Leopoldo Stites").
friend_("Grant Stites", "Melvin Dodge").
friend_("Harvey Stites", "Nada Stites").
friend_("Hunter Darling", "Tyrone Deming").
friend_("Ione Stites", "Ladawn Turgeon").
friend_("Jewel Abney", "Joel Fries").
friend_("Jewel Abney", "Oralia Kress").
friend_("Jewel Abney", "Gwenn Mcbroom").
friend_("Joanne Dow", "Ezequiel Gorton").
friend_("Kieth Dow", "Kisha Stites").
friend_("Leopoldo Stites", "Wayne Stites").
friend_("Marcel Abney", "Anneliese Brashear").
friend_("Maxwell Deming", "Wayne Stites").
friend_("Maxwell Deming", "Maryann Mcbroom").
friend_("Mayra Stites", "Anastacia Grigg").
friend_("Mayra Stites", "Audie Dodge").
friend_("Minnie Darling", "Tanya Darling").
friend_("Mitchell Darling", "Tyrone Deming").
friend_("Mitchell Darling", "Melvin Dodge").
friend_("Nada Stites", "Nickolas Deming").
friend_("Nada Stites", "Tyrone Deming").
friend_("Nada Stites", "Windy Gorton").
friend_("Shamika Dow", "Brooks Huntley").
friend_("Shirleen Stites", "Gwenn Mcbroom").
friend_("Staci Deming", "Lissa Mcbroom").
friend_("Tyrone Deming", "Omar Grigg").
friend_("Allyson Brashear", "Sandy Mcbroom").
friend_("Autumn Brashear", "Dorris Huntley").
friend_("Barry Huntley", "Windy Gorton").
friend_("Carmella Huntley", "Demarcus Huntley").
friend_("Dean Mcbroom", "Oleta Mcbroom").
friend_("Dean Mcbroom", "Windy Gorton").
friend_("Dorris Huntley", "Tianna Brashear").
friend_("Ezequiel Gorton", "Tamara Mcbroom").
friend_("Felipe Brashear", "Harvey Mcbroom").
friend_("Harvey Mcbroom", "Oleta Mcbroom").
friend_("Jordan Mcbroom", "Rena Grigg").
friend_("Maryann Mcbroom", "Mervin Mcbroom").
friend_("Maryann Mcbroom", "Rena Grigg").
friend_("Matt Mcbroom", "Mervin Mcbroom").
friend_("Matt Mcbroom", "Omar Grigg").
friend_("Matt Mcbroom", "Rena Grigg").
friend_("Melvin Dodge", "Nydia Grigg").
friend_("Omar Grigg", "Windy Gorton").

friend(X, Y) :-
    friend_(X, Y).
friend(X, Y) :-
    friend_(Y, X).

niece(X, Y) :-
    sibling(X, A),
    daughter(A, Y).

nephew(X, Y) :-
    sibling(X, A),
    son(A, Y).

brother_in_law(X, Y) :-
    married(X, A),
    brother(A, Y).

:- multifile message_property/2.


sister_in_law(X, Y) :-
    married(X, A),
    sister(A, Y).

wife(X, Y) :-
    married(X, Y),
    female(Y).

husband(X, Y) :-
    married(X, Y),
    male(Y).

daughter_in_law(X, Y) :-
    child(X, A),
    wife(A, Y).

son_in_law(X, Y) :-
    child(X, A),
    husband(A, Y).

son(X, Y) :-
    child(X, Y),
    male(Y).

female(X) :-
    gender(X, "female").

daughter(X, Y) :-
    child(X, Y),
    female(Y).

father_in_law(X, Y) :-
    married(X, A),
    father(A, Y).

mother_in_law(X, Y) :-
    married(X, A),
    mother(A, Y).

father(X, Y) :-
    parent(X, Y),
    male(Y).

:- multifile prolog_predicate_name/2.


child(X, Y) :-
    parent(Y, X).

male_first_cousin_once_removed(X, Y) :-
    cousin(X, A),
    son(A, Y),
    X\=Y.

:- multifile prolog_clause_name/2.


:- dynamic expand_answer/2.
:- multifile expand_answer/2.


:- dynamic exception/3.
:- multifile exception/3.


female_first_cousin_once_removed(X, Y) :-
    cousin(X, A),
    daughter(A, Y),
    X\=Y.

brother(X, Y) :-
    sibling(X, Y),
    male(Y).

mother(X, Y) :-
    parent(X, Y),
    female(Y).

male_second_cousin(X, Y) :-
    parent(X, A),
    parent(Y, B),
    cousin(A, B),
    male(Y),
    X\=Y.

:- dynamic message_hook/3.
:- multifile message_hook/3.


female_second_cousin(X, Y) :-
    parent(X, A),
    parent(Y, B),
    cousin(A, B),
    female(Y),
    X\=Y.

married(X, Y) :-
    parent(Child, X),
    parent(Child, Y),
    X\=Y.

male(X) :-
    gender(X, "male").

:- dynamic prolog_file_type/2.
:- multifile prolog_file_type/2.

prolog_file_type(pl, prolog).
prolog_file_type(prolog, prolog).
prolog_file_type(qlf, prolog).
prolog_file_type(qlf, qlf).
prolog_file_type(A, executable) :-
    system:current_prolog_flag(shared_object_extension, A).
prolog_file_type(dylib, executable) :-
    system:current_prolog_flag(apple, true).

sister(X, Y) :-
    sibling(X, Y),
    female(Y).

male_cousin(X, Y) :-
    cousin(X, Y),
    male(Y).

:- dynamic nonbinary/1.

nonbinary(X) :-
    gender(X, "nonbinary").

female_cousin(X, Y) :-
    cousin(X, Y),
    female(Y).

sibling(X, Y) :-
    parent(X, A),
    parent(Y, A),
    X\=Y.

:- dynamic portray/1.
:- multifile portray/1.


:- dynamic prolog_load_file/2.
:- multifile prolog_load_file/2.


:- dynamic goal_expansion/2.
:- multifile goal_expansion/2.


:- dynamic parent/2.

parent("Adolph Barbee", "Kelley Barbee").
parent("Adolph Barbee", "Kenny Barbee").
parent("Alice Lance", "Karolyn Lance").
parent("Alice Lance", "Rocco Lance").
parent("Allison Barbee", "Andres Barbee").
parent("Allison Barbee", "Dollie Barbee").
parent("Alvin Lance", "Karolyn Lance").
parent("Alvin Lance", "Rocco Lance").
parent("Andres Barbee", "Kelley Barbee").
parent("Andres Barbee", "Kenny Barbee").
parent("Andrew Parkinson", "Kurt Parkinson").
parent("Andrew Parkinson", "Leonila Parkinson").
parent("Brooks George", "Emma George").
parent("Brooks George", "Rory George").
parent("Clint Rahman", "Latosha Rahman").
parent("Clint Rahman", "Solomon Rahman").
parent("Courtney Parkinson", "Karolyn Lance").
parent("Courtney Parkinson", "Rocco Lance").
parent("Dalton Parkinson", "Courtney Parkinson").
parent("Dalton Parkinson", "Willie Parkinson").
parent("Dollie Barbee", "Wallace Ragland").
parent("Dollie Barbee", "Yasmin Ragland").
parent("Elicia Barbee", "Konstantin Barbee").
parent("Elicia Barbee", "Krystle Barbee").
parent("Emma George", "Courtney Parkinson").
parent("Emma George", "Willie Parkinson").
parent("Guadalupe Barbee", "Allie Barbee").
parent("Guadalupe Barbee", "Rudy Barbee").
parent("Jenni Felker", "Clint Rahman").
parent("Jenni Felker", "Colette Rahman").
parent("Karolyn Lance", "Abdul Felker").
parent("Karolyn Lance", "Jenni Felker").
parent("Kelley Barbee", "Karolyn Lance").
parent("Kelley Barbee", "Rocco Lance").
parent("Kenny Barbee", "Allie Barbee").
parent("Kenny Barbee", "Rudy Barbee").
parent("Kirk Lo", "Royce Lo").
parent("Kirk Lo", "Wanda Lo").
parent("Konstantin Barbee", "Andres Barbee").
parent("Konstantin Barbee", "Dollie Barbee").
parent("Korey Kean", "Garth Kean").
parent("Korey Kean", "Tracey Kean").
parent("Krystle Barbee", "Walter Hope").
parent("Krystle Barbee", "Wanita Hope").
parent("Lesley Barbee", "Elyse Barbee").
parent("Lesley Barbee", "Lyndon Barbee").
parent("Lyndon Barbee", "Konstantin Barbee").
parent("Lyndon Barbee", "Krystle Barbee").
parent("Marvin Hope", "Walter Hope").
parent("Marvin Hope", "Wanita Hope").
parent("Merrill Kean", "Garth Kean").
parent("Merrill Kean", "Tracey Kean").
parent("Mitchel George", "Emma George").
parent("Mitchel George", "Rory George").
parent("Nettie Barbee", "Konstantin Barbee").
parent("Nettie Barbee", "Krystle Barbee").
parent("Tracey Kean", "Karolyn Lance").
parent("Tracey Kean", "Rocco Lance").
parent("Twyla Parkinson", "Kurt Parkinson").
parent("Twyla Parkinson", "Leonila Parkinson").
parent("Tyrone Parkinson", "Courtney Parkinson").
parent("Tyrone Parkinson", "Willie Parkinson").
parent("Wanda Lo", "Elyse Barbee").
parent("Wanda Lo", "Lyndon Barbee").
parent("Willie Parkinson", "Kurt Parkinson").
parent("Willie Parkinson", "Leonila Parkinson").
parent("Ahmad Vansickle", "Loraine Vansickle").
parent("Ahmad Vansickle", "Mauricio Vansickle").
parent("Albertine Thrower", "Georgette Gebhart").
parent("Albertine Thrower", "Hal Gebhart").
parent("Andre Vansickle", "Ahmad Vansickle").
parent("Andre Vansickle", "Chrissy Vansickle").
parent("Benny Guay", "Cesar Guay").
parent("Benny Guay", "Laurel Guay").
parent("Candice Bianchi", "Albertine Thrower").
parent("Candice Bianchi", "Philip Thrower").
parent("Carmen Bianchi", "Edgar Bianchi").
parent("Carmen Bianchi", "Lura Bianchi").
parent("Cesar Guay", "Gertrude Guay").
parent("Cesar Guay", "Shon Guay").
parent("Chrissy Vansickle", "Pricilla Pennington").
parent("Chrissy Vansickle", "Robby Pennington").
parent("Concepcion Najera", "Edgar Bianchi").
parent("Concepcion Najera", "Lura Bianchi").
parent("Edgar Bianchi", "Lucas Bianchi").
parent("Edgar Bianchi", "Sarita Bianchi").
parent("Esperanza Ervin", "Candice Bianchi").
parent("Esperanza Ervin", "Carmen Bianchi").
parent("Joshua Ervin", "Eve Ervin").
parent("Joshua Ervin", "Landon Ervin").
parent("Kendrick Sherrod", "Norris Sherrod").
parent("Kendrick Sherrod", "Winnifred Sherrod").
parent("Kristopher Veilleux", "Jaime Veilleux").
parent("Kristopher Veilleux", "Rosena Veilleux").
parent("Laurel Bianchi", "Edgar Bianchi").
parent("Laurel Bianchi", "Lura Bianchi").
parent("Linwood Thrower", "Albertine Thrower").
parent("Linwood Thrower", "Philip Thrower").
parent("Lucas Bianchi", "Esperanza Bianchi").
parent("Lucas Bianchi", "Jim Bianchi").
parent("Maragret Bianchi", "Candice Bianchi").
parent("Maragret Bianchi", "Carmen Bianchi").
parent("Minerva Pennington", "Pricilla Pennington").
parent("Minerva Pennington", "Robby Pennington").
parent("Ollie Bianchi", "Candice Bianchi").
parent("Ollie Bianchi", "Carmen Bianchi").
parent("Philip Thrower", "Alejandrina Thrower").
parent("Philip Thrower", "Brain Thrower").
parent("Pricilla Pennington", "Albertine Thrower").
parent("Pricilla Pennington", "Philip Thrower").
parent("Raphael Ervin", "Esperanza Ervin").
parent("Raphael Ervin", "Joshua Ervin").
parent("Renea Thrower", "Albertine Thrower").
parent("Renea Thrower", "Philip Thrower").
parent("Rosena Veilleux", "Esperanza Ervin").
parent("Rosena Veilleux", "Joshua Ervin").
parent("Roxy Guay", "Albertine Thrower").
parent("Roxy Guay", "Philip Thrower").
parent("Shante Najera", "Concepcion Najera").
parent("Shante Najera", "Roy Najera").
parent("Sylvester Sherrod", "Norris Sherrod").
parent("Sylvester Sherrod", "Winnifred Sherrod").
parent("Twila Veilleux", "Kristopher Veilleux").
parent("Twila Veilleux", "Shizuko Veilleux").
parent("Winnifred Sherrod", "Esperanza Ervin").
parent("Winnifred Sherrod", "Joshua Ervin").
parent("Zachary Guay", "Benny Guay").
parent("Zachary Guay", "Roxy Guay").
parent("Adella Stites", "Deirdre Fries").
parent("Adella Stites", "Joel Fries").
parent("Arthur Stites", "Dwain Stites").
parent("Arthur Stites", "Nada Stites").
parent("Cherise Darling", "Minnie Darling").
parent("Cherise Darling", "Mitchell Darling").
parent("Chris Stites", "Donovan Stites").
parent("Chris Stites", "Mayra Stites").
parent("Darrick Darling", "Minnie Darling").
parent("Darrick Darling", "Mitchell Darling").
parent("Donnie Turgeon", "Kent Turgeon").
parent("Donnie Turgeon", "Margaret Turgeon").
parent("Donovan Stites", "Ione Stites").
parent("Donovan Stites", "Wilmer Stites").
parent("Dwain Stites", "Adella Stites").
parent("Dwain Stites", "Harvey Stites").
parent("Eddie Darling", "Minnie Darling").
parent("Eddie Darling", "Mitchell Darling").
parent("Edmond Abney", "Jewel Abney").
parent("Edmond Abney", "Marcel Abney").
parent("Evelia Nelms", "Angel Kress").
parent("Evelia Nelms", "Oralia Kress").
parent("Giovanni Stites", "Adella Stites").
parent("Giovanni Stites", "Harvey Stites").
parent("Grant Stites", "Eldon Stites").
parent("Grant Stites", "Shirleen Stites").
parent("Harvey Stites", "Eldon Stites").
parent("Harvey Stites", "Shirleen Stites").
parent("Jewel Abney", "Kenny Southerland").
parent("Jewel Abney", "Pansy Southerland").
parent("Jewell Stites", "Adella Stites").
parent("Jewell Stites", "Harvey Stites").
parent("Kieth Dow", "Casey Dow").
parent("Kieth Dow", "Joanne Dow").
parent("Kisha Stites", "Andrea Stites").
parent("Kisha Stites", "Lawerence Stites").
parent("Kris Stites", "Donnie Turgeon").
parent("Kris Stites", "Ladawn Turgeon").
parent("Ladawn Turgeon", "Kieth Dow").
parent("Ladawn Turgeon", "Shamika Dow").
parent("Lawerence Stites", "Eldon Stites").
parent("Lawerence Stites", "Shirleen Stites").
parent("Leopoldo Stites", "Adella Stites").
parent("Leopoldo Stites", "Harvey Stites").
parent("Maxwell Deming", "Nickolas Deming").
parent("Maxwell Deming", "Staci Deming").
parent("Mayra Stites", "Evelia Nelms").
parent("Mayra Stites", "Julio Nelms").
parent("Mitchell Darling", "Hunter Darling").
parent("Mitchell Darling", "Tanya Darling").
parent("Pansy Southerland", "Dwain Stites").
parent("Pansy Southerland", "Nada Stites").
parent("Shirleen Stites", "Minnie Darling").
parent("Shirleen Stites", "Mitchell Darling").
parent("Staci Deming", "Ione Stites").
parent("Staci Deming", "Wilmer Stites").
parent("Tyrone Deming", "Nickolas Deming").
parent("Tyrone Deming", "Staci Deming").
parent("Wayne Stites", "Adella Stites").
parent("Wayne Stites", "Harvey Stites").
parent("Wilmer Stites", "Grant Stites").
parent("Wilmer Stites", "Kris Stites").
parent("Adella Mcbroom", "Cleveland Mcbroom").
parent("Adella Mcbroom", "Sue Mcbroom").
parent("Alina Huntley", "Carmella Huntley").
parent("Alina Huntley", "Demarcus Huntley").
parent("Allyson Gorton", "Allyson Brashear").
parent("Allyson Gorton", "Reynaldo Brashear").
parent("Audie Dodge", "Bess Dodge").
parent("Audie Dodge", "Melvin Dodge").
parent("Autumn Brashear", "Allyson Brashear").
parent("Autumn Brashear", "Reynaldo Brashear").
parent("Barry Huntley", "Carmella Huntley").
parent("Barry Huntley", "Demarcus Huntley").
parent("Bess Dodge", "Lissa Mcbroom").
parent("Bess Dodge", "Matt Mcbroom").
parent("Booker Grigg", "Anastacia Grigg").
parent("Booker Grigg", "Mike Grigg").
parent("Carmella Huntley", "Cleveland Mcbroom").
parent("Carmella Huntley", "Sue Mcbroom").
parent("Cleveland Mcbroom", "Lissa Mcbroom").
parent("Cleveland Mcbroom", "Matt Mcbroom").
parent("Dean Mcbroom", "James Mcbroom").
parent("Dean Mcbroom", "Zelma Mcbroom").
parent("Demarcus Huntley", "Brooks Huntley").
parent("Demarcus Huntley", "Jacquelyn Huntley").
parent("Dorris Huntley", "Barry Huntley").
parent("Dorris Huntley", "Morgan Huntley").
parent("Dudley Dodge", "Bess Dodge").
parent("Dudley Dodge", "Melvin Dodge").
parent("Harvey Mcbroom", "Lissa Mcbroom").
parent("Harvey Mcbroom", "Matt Mcbroom").
parent("Jordan Mcbroom", "Lissa Mcbroom").
parent("Jordan Mcbroom", "Matt Mcbroom").
parent("Lowell Gorton", "Allyson Gorton").
parent("Lowell Gorton", "Ezequiel Gorton").
parent("Maryann Mcbroom", "Desiree Mcbroom").
parent("Maryann Mcbroom", "Jordan Mcbroom").
parent("Matt Mcbroom", "Dean Mcbroom").
parent("Matt Mcbroom", "Gwenn Mcbroom").
parent("Max Gorton", "Lowell Gorton").
parent("Max Gorton", "Windy Gorton").
parent("Mervin Mcbroom", "Lissa Mcbroom").
parent("Mervin Mcbroom", "Matt Mcbroom").
parent("Oleta Mcbroom", "Mervin Mcbroom").
parent("Oleta Mcbroom", "Sandy Mcbroom").
parent("Omar Grigg", "Booker Grigg").
parent("Omar Grigg", "Nydia Grigg").
parent("Orlando Brashear", "Anneliese Brashear").
parent("Orlando Brashear", "Felipe Brashear").
parent("Randolph Grigg", "Shannon Grigg").
parent("Randolph Grigg", "Theodore Grigg").
parent("Rena Grigg", "Allyson Brashear").
parent("Rena Grigg", "Reynaldo Brashear").
parent("Reynaldo Brashear", "Anneliese Brashear").
parent("Reynaldo Brashear", "Felipe Brashear").
parent("Shelton Dodge", "Bess Dodge").
parent("Shelton Dodge", "Melvin Dodge").
parent("Sue Mcbroom", "Allyson Brashear").
parent("Sue Mcbroom", "Reynaldo Brashear").
parent("Tamara Mcbroom", "Cleveland Mcbroom").
parent("Tamara Mcbroom", "Sue Mcbroom").
parent("Theodore Grigg", "Omar Grigg").
parent("Theodore Grigg", "Rena Grigg").
parent("Tianna Brashear", "Allyson Brashear").
parent("Tianna Brashear", "Reynaldo Brashear").

cousin(X, Y) :-
    parent(X, A),
    parent(Y, B),
    sibling(A, B),
    X\=Y.

uncle(X, Y) :-
    parent(X, A),
    brother(A, Y).

:- dynamic resource/3.
:- multifile resource/3.


:- thread_local thread_message_hook/3.
:- dynamic thread_message_hook/3.
:- volatile thread_message_hook/3.


aunt(X, Y) :-
    parent(X, A),
    sister(A, Y).

second_uncle(X, Y) :-
    great_grandparent(X, A),
    brother(A, Y).

:- dynamic gender/2.

gender("Abdul Felker", "male").
gender("Adolph Barbee", "male").
gender("Alice Lance", "female").
gender("Allie Barbee", "female").
gender("Allison Barbee", "female").
gender("Alvin Lance", "male").
gender("Andres Barbee", "male").
gender("Andrew Parkinson", "male").
gender("Brooks George", "male").
gender("Clint Rahman", "male").
gender("Colette Rahman", "female").
gender("Courtney Parkinson", "female").
gender("Dalton Parkinson", "male").
gender("Dollie Barbee", "female").
gender("Elicia Barbee", "female").
gender("Elyse Barbee", "female").
gender("Emma George", "female").
gender("Garth Kean", "male").
gender("Guadalupe Barbee", "male").
gender("Jenni Felker", "female").
gender("Karolyn Lance", "female").
gender("Kelley Barbee", "female").
gender("Kenny Barbee", "male").
gender("Kirk Lo", "male").
gender("Konstantin Barbee", "male").
gender("Korey Kean", "male").
gender("Krystle Barbee", "female").
gender("Kurt Parkinson", "male").
gender("Latosha Rahman", "female").
gender("Leonila Parkinson", "female").
gender("Lesley Barbee", "male").
gender("Lyndon Barbee", "male").
gender("Marvin Hope", "male").
gender("Merrill Kean", "male").
gender("Mitchel George", "male").
gender("Nettie Barbee", "female").
gender("Rocco Lance", "male").
gender("Rory George", "male").
gender("Royce Lo", "male").
gender("Rudy Barbee", "male").
gender("Solomon Rahman", "male").
gender("Tracey Kean", "female").
gender("Twyla Parkinson", "female").
gender("Tyrone Parkinson", "male").
gender("Wallace Ragland", "male").
gender("Walter Hope", "male").
gender("Wanda Lo", "female").
gender("Wanita Hope", "female").
gender("Willie Parkinson", "male").
gender("Yasmin Ragland", "female").
gender("Ahmad Vansickle", "male").
gender("Albertine Thrower", "female").
gender("Alejandrina Thrower", "female").
gender("Andre Vansickle", "male").
gender("Benny Guay", "male").
gender("Brain Thrower", "male").
gender("Candice Bianchi", "female").
gender("Carmen Bianchi", "male").
gender("Cesar Guay", "male").
gender("Chrissy Vansickle", "female").
gender("Concepcion Najera", "female").
gender("Edgar Bianchi", "male").
gender("Esperanza Bianchi", "female").
gender("Esperanza Ervin", "female").
gender("Eve Ervin", "female").
gender("Georgette Gebhart", "female").
gender("Gertrude Guay", "female").
gender("Hal Gebhart", "male").
gender("Jaime Veilleux", "male").
gender("Jim Bianchi", "male").
gender("Joshua Ervin", "male").
gender("Kendrick Sherrod", "male").
gender("Kristopher Veilleux", "male").
gender("Landon Ervin", "male").
gender("Laurel Bianchi", "female").
gender("Laurel Guay", "female").
gender("Linwood Thrower", "male").
gender("Loraine Vansickle", "female").
gender("Lucas Bianchi", "male").
gender("Lura Bianchi", "female").
gender("Maragret Bianchi", "female").
gender("Mauricio Vansickle", "male").
gender("Minerva Pennington", "female").
gender("Norris Sherrod", "male").
gender("Ollie Bianchi", "female").
gender("Philip Thrower", "male").
gender("Pricilla Pennington", "female").
gender("Raphael Ervin", "male").
gender("Renea Thrower", "female").
gender("Robby Pennington", "male").
gender("Rosena Veilleux", "female").
gender("Roxy Guay", "female").
gender("Roy Najera", "male").
gender("Sarita Bianchi", "female").
gender("Shante Najera", "female").
gender("Shizuko Veilleux", "female").
gender("Shon Guay", "male").
gender("Sylvester Sherrod", "male").
gender("Twila Veilleux", "female").
gender("Winnifred Sherrod", "female").
gender("Zachary Guay", "male").
gender("Adella Stites", "female").
gender("Andrea Stites", "female").
gender("Angel Kress", "male").
gender("Arthur Stites", "male").
gender("Casey Dow", "male").
gender("Cherise Darling", "female").
gender("Chris Stites", "male").
gender("Darrick Darling", "male").
gender("Deirdre Fries", "female").
gender("Donnie Turgeon", "male").
gender("Donovan Stites", "male").
gender("Dwain Stites", "male").
gender("Eddie Darling", "male").
gender("Edmond Abney", "male").
gender("Eldon Stites", "male").
gender("Evelia Nelms", "female").
gender("Giovanni Stites", "male").
gender("Grant Stites", "male").
gender("Harvey Stites", "male").
gender("Hunter Darling", "male").
gender("Ione Stites", "female").
gender("Jewel Abney", "female").
gender("Jewell Stites", "female").
gender("Joanne Dow", "female").
gender("Joel Fries", "male").
gender("Julio Nelms", "male").
gender("Kenny Southerland", "male").
gender("Kent Turgeon", "male").
gender("Kieth Dow", "male").
gender("Kisha Stites", "female").
gender("Kris Stites", "female").
gender("Ladawn Turgeon", "female").
gender("Lawerence Stites", "male").
gender("Leopoldo Stites", "male").
gender("Marcel Abney", "male").
gender("Margaret Turgeon", "female").
gender("Maxwell Deming", "male").
gender("Mayra Stites", "female").
gender("Minnie Darling", "female").
gender("Mitchell Darling", "male").
gender("Nada Stites", "female").
gender("Nickolas Deming", "male").
gender("Oralia Kress", "female").
gender("Pansy Southerland", "female").
gender("Shamika Dow", "female").
gender("Shirleen Stites", "female").
gender("Staci Deming", "female").
gender("Tanya Darling", "female").
gender("Tyrone Deming", "male").
gender("Wayne Stites", "male").
gender("Wilmer Stites", "male").
gender("Adella Mcbroom", "female").
gender("Alina Huntley", "female").
gender("Allyson Brashear", "female").
gender("Allyson Gorton", "female").
gender("Anastacia Grigg", "female").
gender("Anneliese Brashear", "female").
gender("Audie Dodge", "female").
gender("Autumn Brashear", "female").
gender("Barry Huntley", "male").
gender("Bess Dodge", "female").
gender("Booker Grigg", "male").
gender("Brooks Huntley", "male").
gender("Carmella Huntley", "female").
gender("Cleveland Mcbroom", "male").
gender("Dean Mcbroom", "male").
gender("Demarcus Huntley", "male").
gender("Desiree Mcbroom", "female").
gender("Dorris Huntley", "female").
gender("Dudley Dodge", "male").
gender("Ezequiel Gorton", "male").
gender("Felipe Brashear", "male").
gender("Gwenn Mcbroom", "female").
gender("Harvey Mcbroom", "male").
gender("Jacquelyn Huntley", "female").
gender("James Mcbroom", "male").
gender("Jordan Mcbroom", "male").
gender("Lissa Mcbroom", "female").
gender("Lowell Gorton", "male").
gender("Maryann Mcbroom", "female").
gender("Matt Mcbroom", "male").
gender("Max Gorton", "male").
gender("Melvin Dodge", "male").
gender("Mervin Mcbroom", "male").
gender("Mike Grigg", "male").
gender("Morgan Huntley", "female").
gender("Nydia Grigg", "female").
gender("Oleta Mcbroom", "female").
gender("Omar Grigg", "male").
gender("Orlando Brashear", "male").
gender("Randolph Grigg", "male").
gender("Rena Grigg", "female").
gender("Reynaldo Brashear", "male").
gender("Sandy Mcbroom", "female").
gender("Shannon Grigg", "female").
gender("Shelton Dodge", "male").
gender("Sue Mcbroom", "female").
gender("Tamara Mcbroom", "female").
gender("Theodore Grigg", "male").
gender("Tianna Brashear", "female").
gender("Windy Gorton", "female").
gender("Zelma Mcbroom", "female").

second_aunt(X, Y) :-
    great_grandparent(X, A),
    sister(A, Y).

great_grandson(X, Y) :-
    great_grandchild(X, Y),
    male(Y).

:- dynamic pyrun/2.

pyrun(A, B) :-
    read_term_from_atom(A, C, [variable_names(B)]),
    call(C).

great_granddaughter(X, Y) :-
    great_grandchild(X, Y),
    female(Y).

:- dynamic resource/2.
:- multifile resource/2.