File size: 79,527 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
2356
2357
2358

:- 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("Alethia Kidd", "amateur astronomy").
hobby("Alexis Kingsley", "crystals").
hobby("Ana Colin", "stamp collecting").
hobby("Antionette Song", "trainspotting").
hobby("Byron Song", "animation").
hobby("Carlos Baptiste", "esports").
hobby("Damon Song", "magnet fishing").
hobby("Danilo Colin", "billiards").
hobby("Deirdre Bivins", "iceboat racing").
hobby("Eddie Song", "aerospace").
hobby("Elisabeth Kingsley", "learning").
hobby("Felton Kidd", "meteorology").
hobby("Freda Song", "learning").
hobby("Gene Song", "trapshooting").
hobby("Genesis Colin", "shoes").
hobby("Geneva Song", "meteorology").
hobby("Gilbert Summerlin", "birdwatching").
hobby("Hannah Bivins", "mahjong").
hobby("Hyun Song", "horseback riding").
hobby("Idell Kidd", "birdwatching").
hobby("Isidro Kidd", "air sports").
hobby("Jamal Song", "publishing").
hobby("Jeana Song", "fossicking").
hobby("Jesse Kiel", "dolls").
hobby("Jolene Song", "web design").
hobby("Lance Kiel", "tourism").
hobby("Lester Bivins", "lapel pins").
hobby("Lynda Colin", "slot car").
hobby("Madaline Song", "audiophile").
hobby("Matilda Summerlin", "model united nations").
hobby("Maynard Song", "insect collecting").
hobby("Mckinley Colin", "baking").
hobby("Meghann Kidd", "mineral collecting").
hobby("Melvin Kidd", "stone collecting").
hobby("Nathaniel Song", "dandyism").
hobby("Nikki Kidd", "mineral collecting").
hobby("Nina Song", "digital hoarding").
hobby("Noreen Kingsley", "reading").
hobby("Ramona Colin", "pinball").
hobby("Romelia Song", "dog sport").
hobby("Seymour Song", "research").
hobby("Shelly Reece", "butterfly watching").
hobby("Sol Song", "research").
hobby("Stephan Kidd", "stamp collecting").
hobby("Tawana Summerlin", "jogging").
hobby("Thomasine Kidd", "rowing").
hobby("Tod Song", "sport stacking").
hobby("Twila Baptiste", "audiophile").
hobby("Winfred Baptiste", "seashell collecting").
hobby("Wyatt Reece", "skateboarding").
hobby("Yvette Song", "lomography").
hobby("Adah Camper", "ant farming").
hobby("Adele Ahmad", "rock tumbling").
hobby("Amos Vargas", "birdwatching").
hobby("Angie Vargas", "model aircraft").
hobby("Ayesha Abbate", "die-cast toy").
hobby("Bradley Yocum", "metal detecting").
hobby("Carina Vargas", "learning").
hobby("Christa Vargas", "phillumeny").
hobby("David Mcclelland", "cycling").
hobby("Derek Flatt", "benchmarking").
hobby("Eddy Vargas", "sociology").
hobby("Elfriede Moffitt", "shoes").
hobby("Eli Flatt", "jujitsu").
hobby("Elvie Vargas", "tourism").
hobby("Errol Camper", "ant farming").
hobby("Forrest Vargas", "slot car racing").
hobby("Fred Vargas", "flower collecting and pressing").
hobby("Gerry Vargas", "videography").
hobby("Ginger Hamrick", "powerlifting").
hobby("Harriette Vargas", "picnicking").
hobby("Ivan Abbate", "stone collecting").
hobby("Jeannie Loper", "sea glass collecting").
hobby("Joey Mcclelland", "radio-controlled model playing").
hobby("Kacey Yocum", "badminton").
hobby("Kendrick Vargas", "insect collecting").
hobby("Kraig Hamrick", "animation").
hobby("Livia Camper", "bowling").
hobby("Marlana Mcclelland", "disc golf").
hobby("Millard Camper", "model aircraft").
hobby("Newton Moffitt", "ant farming").
hobby("Nicholas Vargas", "geography").
hobby("Noe Vargas", "meditation").
hobby("Page Vargas", "slot car racing").
hobby("Pamula Flatt", "stone collecting").
hobby("Raphael Vargas", "roundnet").
hobby("Renaldo Ahmad", "chemistry").
hobby("Robyn Vargas", "tether car").
hobby("Ronnie Vargas", "roller skating").
hobby("Rosie Vargas", "aircraft spotting").
hobby("Son Loper", "martial arts").
hobby("Stevie Vargas", "rowing").
hobby("Thelma Flatt", "philately").
hobby("Theodore Yocum", "research").
hobby("Theron Mcclelland", "butterfly watching").
hobby("Toney Vargas", "neuroscience").
hobby("Valentina Vargas", "judo").
hobby("Wendell Flatt", "cycling").
hobby("Will Vargas", "myrmecology").
hobby("Winnifred Mcclelland", "auto audiophilia").
hobby("Xavier Vargas", "lomography").
hobby("Antionette Dyer", "mountaineering").
hobby("Anton Swink", "knife throwing").
hobby("Cara Lucky", "learning").
hobby("Christina Lucky", "archery").
hobby("Damion Swink", "magnet fishing").
hobby("Dwain Lucky", "compact discs").
hobby("Ellis Lucky", "social studies").
hobby("Emil Lucky", "skateboarding").
hobby("Ervin Swink", "high-power rocketry").
hobby("Eugene Ellsworth", "table tennis").
hobby("Floyd Lucky", "mathematics").
hobby("Freda Dyer", "linguistics").
hobby("Frederick Lucky", "rugby league football").
hobby("Gabriele Lucky", "meditation").
hobby("Gemma Pirtle", "animation").
hobby("Hank Lucky", "judo").
hobby("Harlan Lucky", "engineering").
hobby("Holly Lucky", "trainspotting").
hobby("Ilona Dyer", "jukskei").
hobby("Jerrold Lucky", "jurisprudential").
hobby("Jess Ellsworth", "life science").
hobby("Jewel Dyer", "geocaching").
hobby("Judith Slate", "stamp collecting").
hobby("Katharine Lucky", "snorkeling").
hobby("Ken Pirtle", "exhibition drill").
hobby("Kermit Swink", "magnet fishing").
hobby("Kimberely Lucky", "bus spotting").
hobby("Lauren Pirtle", "fishkeeping").
hobby("Laverna Ellsworth", "microscopy").
hobby("Leena Lucky", "fishkeeping").
hobby("Lincoln Oneil", "mineral collecting").
hobby("Lisa Dyer", "philately").
hobby("Lois Oneil", "breakdancing").
hobby("Lowell Lucky", "leaves").
hobby("Luke Slate", "hobby horsing").
hobby("Meryl Lucky", "model united nations").
hobby("My Swink", "amateur astronomy").
hobby("Nelly Lucky", "botany").
hobby("Odelia Lucky", "ice hockey").
hobby("Paris Lucky", "leaves").
hobby("Renaldo Dyer", "rappelling").
hobby("Ricardo Lucky", "dolls").
hobby("Romana Dyer", "comic book collecting").
hobby("Roosevelt Dyer", "hiking/backpacking").
hobby("Selina Slate", "fishkeeping").
hobby("Sherita Dyer", "beekeeping").
hobby("Stevie Dyer", "die-cast toy").
hobby("Wesley Pirtle", "curling").
hobby("Wilmer Pirtle", "bridge").
hobby("Winnie Lucky", "tennis polo").
hobby("Alejandrina Preciado", "race walking").
hobby("Aletha Mccune", "camping").
hobby("Amie Preciado", "photography").
hobby("Annabell Mccune", "butterfly watching").
hobby("Belva Mccune", "web design").
hobby("Benjamin Mullins", "zoo visiting").
hobby("Caleb Langford", "biology").
hobby("Chelsie Roldan", "tennis polo").
hobby("Chloe Mccune", "web design").
hobby("Conrad Mccune", "ant-keeping").
hobby("Cristopher Homan", "whale watching").
hobby("Daniela Bishop", "botany").
hobby("Deane Medley", "shopping").
hobby("Deena Munroe", "hiking/backpacking").
hobby("Deidre Medley", "ice skating").
hobby("Demetria Decosta", "air hockey").
hobby("Deshawn Munroe", "ant-keeping").
hobby("Devon Preciado", "medical science").
hobby("Doug Medley", "stone skipping").
hobby("Federico Keene", "equestrianism").
hobby("Gemma Keene", "record collecting").
hobby("Gordon Decosta", "skiing").
hobby("Hans Decosta", "deltiology").
hobby("Jacque Mullins", "roller skating").
hobby("Jamey Turnage", "insect collecting").
hobby("Jamie Rounds", "people-watching").
hobby("Jon Preciado", "reading").
hobby("Josie Langford", "meditation").
hobby("Katerine Mullins", "sports science").
hobby("Kathey Turnage", "ice hockey").
hobby("Kelley Preciado", "flower collecting and pressing").
hobby("Lavonne Rounds", "fusilately").
hobby("Lorina Homan", "web design").
hobby("Nestor Preciado", "jujitsu").
hobby("Paula Preciado", "vintage clothing").
hobby("Pete Mullins", "audiophile").
hobby("Queenie Homan", "curling").
hobby("Rolland Bishop", "slot car").
hobby("Romana Bishop", "road biking").
hobby("Ronald Mccune", "perfume").
hobby("Ruby Preciado", "microscopy").
hobby("Rudolph Keene", "herping").
hobby("Sam Bishop", "butterfly watching").
hobby("Sanford Preciado", "meditation").
hobby("Santiago Homan", "perfume").
hobby("Santos Rounds", "mineral collecting").
hobby("Sherrie Keene", "fishkeeping").
hobby("Stacey Roldan", "mineral collecting").
hobby("Vaughn Bishop", "phillumeny").
hobby("Zackary Keene", "radio-controlled model playing").
hobby("Zoraida Roldan", "magnet fishing").

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

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

:- dynamic job/2.

job("Alethia Kidd", "academic librarian").
job("Alexis Kingsley", "clinical research associate").
job("Ana Colin", "museum curator").
job("Antionette Song", "technical sales engineer").
job("Byron Song", "advertising account planner").
job("Carlos Baptiste", "toxicologist").
job("Damon Song", "education administrator").
job("Danilo Colin", "colour technologist").
job("Deirdre Bivins", "regulatory affairs officer").
job("Eddie Song", "gaffer").
job("Elisabeth Kingsley", "producer").
job("Felton Kidd", "newspaper journalist").
job("Freda Song", "social researcher").
job("Gene Song", "learning disability nurse").
job("Genesis Colin", "interior and spatial designer").
job("Geneva Song", "pharmacologist").
job("Gilbert Summerlin", "investment banker").
job("Hannah Bivins", "biomedical engineer").
job("Hyun Song", "marketing executive").
job("Idell Kidd", "chartered legal executive").
job("Isidro Kidd", "public relations officer").
job("Jamal Song", "nutritional therapist").
job("Jeana Song", "psychotherapist").
job("Jesse Kiel", "production designer").
job("Jolene Song", "phytotherapist").
job("Lance Kiel", "training and development officer").
job("Lester Bivins", "electronics engineer").
job("Lynda Colin", "contracting civil engineer").
job("Madaline Song", "air traffic controller").
job("Matilda Summerlin", "airline pilot").
job("Maynard Song", "IT consultant").
job("Mckinley Colin", "geophysical data processor").
job("Meghann Kidd", "careers information officer").
job("Melvin Kidd", "applications developer").
job("Nathaniel Song", "architectural technologist").
job("Nikki Kidd", "horticultural therapist").
job("Nina Song", "theme park manager").
job("Noreen Kingsley", "animal nutritionist").
job("Ramona Colin", "education administrator").
job("Romelia Song", "community development worker").
job("Seymour Song", "ophthalmologist").
job("Shelly Reece", "lobbyist").
job("Sol Song", "telecommunications researcher").
job("Stephan Kidd", "social worker").
job("Tawana Summerlin", "exercise physiologist").
job("Thomasine Kidd", "senior tax professional").
job("Tod Song", "environmental consultant").
job("Twila Baptiste", "soil scientist").
job("Winfred Baptiste", "interpreter").
job("Wyatt Reece", "professor emeritus").
job("Yvette Song", "archivist").
job("Adah Camper", "herpetologist").
job("Adele Ahmad", "transport planner").
job("Amos Vargas", "advice worker").
job("Angie Vargas", "hospital pharmacist").
job("Ayesha Abbate", "network engineer").
job("Bradley Yocum", "personal assistant").
job("Carina Vargas", "tax inspector").
job("Christa Vargas", "industrial buyer").
job("David Mcclelland", "physicist").
job("Derek Flatt", "sub").
job("Eddy Vargas", "market researcher").
job("Elfriede Moffitt", "building services engineer").
job("Eli Flatt", "general practice doctor").
job("Elvie Vargas", "dispensing optician").
job("Errol Camper", "company secretary").
job("Forrest Vargas", "sub").
job("Fred Vargas", "accounting technician").
job("Gerry Vargas", "local government officer").
job("Ginger Hamrick", "magazine features editor").
job("Harriette Vargas", "publishing rights manager").
job("Ivan Abbate", "government social research officer").
job("Jeannie Loper", "mudlogger").
job("Joey Mcclelland", "senior tax professional").
job("Kacey Yocum", "patent examiner").
job("Kendrick Vargas", "science writer").
job("Kraig Hamrick", "estate agent").
job("Livia Camper", "lighting technician").
job("Marlana Mcclelland", "fine artist").
job("Millard Camper", "ship broker").
job("Newton Moffitt", "tree surgeon").
job("Nicholas Vargas", "geologist").
job("Noe Vargas", "restaurant manager").
job("Page Vargas", "designer").
job("Pamula Flatt", "drilling engineer").
job("Raphael Vargas", "radiographer").
job("Renaldo Ahmad", "legal secretary").
job("Robyn Vargas", "health visitor").
job("Ronnie Vargas", "medical physicist").
job("Rosie Vargas", "engineer").
job("Son Loper", "geophysical data processor").
job("Stevie Vargas", "midwife").
job("Thelma Flatt", "financial risk analyst").
job("Theodore Yocum", "English as a foreign language teacher").
job("Theron Mcclelland", "personnel officer").
job("Toney Vargas", "systems analyst").
job("Valentina Vargas", "animator").
job("Wendell Flatt", "educational psychologist").
job("Will Vargas", "production manager").
job("Winnifred Mcclelland", "magazine journalist").
job("Xavier Vargas", "runner").
job("Antionette Dyer", "learning disability nurse").
job("Anton Swink", "radiation protection practitioner").
job("Cara Lucky", "advertising art director").
job("Christina Lucky", "scientific laboratory technician").
job("Damion Swink", "call centre manager").
job("Dwain Lucky", "arts development officer").
job("Ellis Lucky", "estate agent").
job("Emil Lucky", "furniture conservator").
job("Ervin Swink", "travel agency manager").
job("Eugene Ellsworth", "maintenance engineer").
job("Floyd Lucky", "conservation officer").
job("Freda Dyer", "copy").
job("Frederick Lucky", "sales professional").
job("Gabriele Lucky", "graphic designer").
job("Gemma Pirtle", "special educational needs teacher").
job("Hank Lucky", "astronomer").
job("Harlan Lucky", "sales promotion account executive").
job("Holly Lucky", "accounting technician").
job("Ilona Dyer", "corporate investment banker").
job("Jerrold Lucky", "insurance broker").
job("Jess Ellsworth", "advertising account planner").
job("Jewel Dyer", "interpreter").
job("Judith Slate", "writer").
job("Katharine Lucky", "advertising account planner").
job("Ken Pirtle", "actuary").
job("Kermit Swink", "clinical biochemist").
job("Kimberely Lucky", "communications engineer").
job("Lauren Pirtle", "publishing copy").
job("Laverna Ellsworth", "database administrator").
job("Leena Lucky", "retail buyer").
job("Lincoln Oneil", "magazine features editor").
job("Lisa Dyer", "heritage manager").
job("Lois Oneil", "commercial horticulturist").
job("Lowell Lucky", "presenter").
job("Luke Slate", "administrator").
job("Meryl Lucky", "marine scientist").
job("My Swink", "rural practice surveyor").
job("Nelly Lucky", "occupational hygienist").
job("Odelia Lucky", "town planner").
job("Paris Lucky", "firefighter").
job("Renaldo Dyer", "publishing rights manager").
job("Ricardo Lucky", "charity fundraiser").
job("Romana Dyer", "paediatric nurse").
job("Roosevelt Dyer", "licensed conveyancer").
job("Selina Slate", "music therapist").
job("Sherita Dyer", "building control surveyor").
job("Stevie Dyer", "records manager").
job("Wesley Pirtle", "social worker").
job("Wilmer Pirtle", "industrial designer").
job("Winnie Lucky", "hydrographic surveyor").
job("Alejandrina Preciado", "trade union research officer").
job("Aletha Mccune", "fisheries officer").
job("Amie Preciado", "public relations account executive").
job("Annabell Mccune", "editorial assistant").
job("Belva Mccune", "brewing technologist").
job("Benjamin Mullins", "dramatherapist").
job("Caleb Langford", "conference centre manager").
job("Chelsie Roldan", "embryologist").
job("Chloe Mccune", "geoscientist").
job("Conrad Mccune", "trade mark attorney").
job("Cristopher Homan", "multimedia specialist").
job("Daniela Bishop", "biochemist").
job("Deane Medley", "senior tax professional").
job("Deena Munroe", "copywriter").
job("Deidre Medley", "lecturer").
job("Demetria Decosta", "development worker").
job("Deshawn Munroe", "educational psychologist").
job("Devon Preciado", "IT sales professional").
job("Doug Medley", "accountant").
job("Federico Keene", "physiotherapist").
job("Gemma Keene", "energy manager").
job("Gordon Decosta", "chief of staff").
job("Hans Decosta", "conference centre manager").
job("Jacque Mullins", "doctor").
job("Jamey Turnage", "data scientist").
job("Jamie Rounds", "exercise physiologist").
job("Jon Preciado", "physicist").
job("Josie Langford", "health physicist").
job("Katerine Mullins", "fisheries officer").
job("Kathey Turnage", "corporate treasurer").
job("Kelley Preciado", "customer service manager").
job("Lavonne Rounds", "bookseller").
job("Lorina Homan", "trade union research officer").
job("Nestor Preciado", "geochemist").
job("Paula Preciado", "furniture designer").
job("Pete Mullins", "clinical research associate").
job("Queenie Homan", "public house manager").
job("Rolland Bishop", "toxicologist").
job("Romana Bishop", "public house manager").
job("Ronald Mccune", "optometrist").
job("Ruby Preciado", "artist").
job("Rudolph Keene", "development worker").
job("Sam Bishop", "chemist").
job("Sanford Preciado", "primary school teacher").
job("Santiago Homan", "civil engineer").
job("Santos Rounds", "photographer").
job("Sherrie Keene", "trade mark attorney").
job("Stacey Roldan", "IT technical support officer").
job("Vaughn Bishop", "fitness centre manager").
job("Zackary Keene", "press photographer").
job("Zoraida Roldan", "textile designer").

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("Alethia Kidd", "0873-07-19").
dob("Alexis Kingsley", "1041-10-02").
dob("Ana Colin", "0935-04-16").
dob("Antionette Song", "0991-05-04").
dob("Byron Song", "0908-09-14").
dob("Carlos Baptiste", "1044-12-31").
dob("Damon Song", "1021-10-02").
dob("Danilo Colin", "0909-08-09").
dob("Deirdre Bivins", "1021-12-21").
dob("Eddie Song", "0935-01-05").
dob("Elisabeth Kingsley", "1073-05-19").
dob("Felton Kidd", "0874-01-26").
dob("Freda Song", "0961-03-14").
dob("Gene Song", "1016-07-28").
dob("Genesis Colin", "0935-10-02").
dob("Geneva Song", "1017-08-26").
dob("Gilbert Summerlin", "0875-11-11").
dob("Hannah Bivins", "0991-10-05").
dob("Hyun Song", "0908-01-20").
dob("Idell Kidd", "0882-10-19").
dob("Isidro Kidd", "0900-05-25").
dob("Jamal Song", "0961-07-23").
dob("Jeana Song", "0965-11-11").
dob("Jesse Kiel", "0878-11-05").
dob("Jolene Song", "1015-01-07").
dob("Lance Kiel", "0879-03-08").
dob("Lester Bivins", "0991-03-23").
dob("Lynda Colin", "0941-08-16").
dob("Madaline Song", "0959-12-18").
dob("Matilda Summerlin", "0874-08-12").
dob("Maynard Song", "1023-05-28").
dob("Mckinley Colin", "0936-10-18").
dob("Meghann Kidd", "0929-12-23").
dob("Melvin Kidd", "0905-06-22").
dob("Nathaniel Song", "0985-07-27").
dob("Nikki Kidd", "0903-01-28").
dob("Nina Song", "0936-08-07").
dob("Noreen Kingsley", "1042-12-18").
dob("Ramona Colin", "0909-09-08").
dob("Romelia Song", "1020-12-02").
dob("Seymour Song", "0964-05-16").
dob("Shelly Reece", "0985-04-02").
dob("Sol Song", "0993-10-31").
dob("Stephan Kidd", "0852-06-22").
dob("Tawana Summerlin", "0904-08-01").
dob("Thomasine Kidd", "0854-04-15").
dob("Tod Song", "0993-10-31").
dob("Twila Baptiste", "1018-11-12").
dob("Winfred Baptiste", "1014-09-07").
dob("Wyatt Reece", "0983-05-04").
dob("Yvette Song", "0962-11-01").
dob("Adah Camper", "0932-07-19").
dob("Adele Ahmad", "0925-02-26").
dob("Amos Vargas", "0956-09-05").
dob("Angie Vargas", "0977-10-14").
dob("Ayesha Abbate", "0916-07-12").
dob("Bradley Yocum", "0978-01-11").
dob("Carina Vargas", "0983-08-23").
dob("Christa Vargas", "0955-08-11").
dob("David Mcclelland", "1006-12-16").
dob("Derek Flatt", "0970-03-01").
dob("Eddy Vargas", "0980-12-28").
dob("Elfriede Moffitt", "0880-02-08").
dob("Eli Flatt", "0945-08-01").
dob("Elvie Vargas", "1005-07-01").
dob("Errol Camper", "0927-10-02").
dob("Forrest Vargas", "1002-10-20").
dob("Fred Vargas", "0981-04-01").
dob("Gerry Vargas", "0980-03-01").
dob("Ginger Hamrick", "0947-04-05").
dob("Harriette Vargas", "0958-03-01").
dob("Ivan Abbate", "0919-06-20").
dob("Jeannie Loper", "0846-01-09").
dob("Joey Mcclelland", "0974-07-26").
dob("Kacey Yocum", "0982-03-17").
dob("Kendrick Vargas", "1010-11-04").
dob("Kraig Hamrick", "0950-03-09").
dob("Livia Camper", "0905-05-08").
dob("Marlana Mcclelland", "1006-08-22").
dob("Millard Camper", "0903-07-02").
dob("Newton Moffitt", "0880-10-06").
dob("Nicholas Vargas", "1033-02-24").
dob("Noe Vargas", "0983-04-25").
dob("Page Vargas", "1008-11-17").
dob("Pamula Flatt", "0946-04-07").
dob("Raphael Vargas", "1009-02-12").
dob("Renaldo Ahmad", "0928-10-18").
dob("Robyn Vargas", "1008-05-19").
dob("Ronnie Vargas", "0983-02-22").
dob("Rosie Vargas", "0983-02-16").
dob("Son Loper", "0851-04-10").
dob("Stevie Vargas", "0929-04-04").
dob("Thelma Flatt", "0968-03-13").
dob("Theodore Yocum", "1009-01-14").
dob("Theron Mcclelland", "1032-04-22").
dob("Toney Vargas", "1007-07-11").
dob("Valentina Vargas", "0929-05-28").
dob("Wendell Flatt", "0974-07-13").
dob("Will Vargas", "0958-01-11").
dob("Winnifred Mcclelland", "0974-12-02").
dob("Xavier Vargas", "0983-02-22").
dob("Antionette Dyer", "0992-09-18").
dob("Anton Swink", "0940-12-07").
dob("Cara Lucky", "0854-06-21").
dob("Christina Lucky", "0913-08-08").
dob("Damion Swink", "0943-06-02").
dob("Dwain Lucky", "0941-09-17").
dob("Ellis Lucky", "0966-11-10").
dob("Emil Lucky", "0972-07-09").
dob("Ervin Swink", "0912-12-21").
dob("Eugene Ellsworth", "1014-07-07").
dob("Floyd Lucky", "0998-10-28").
dob("Freda Dyer", "1017-09-02").
dob("Frederick Lucky", "0918-09-11").
dob("Gabriele Lucky", "0886-06-02").
dob("Gemma Pirtle", "0943-12-23").
dob("Hank Lucky", "1000-12-27").
dob("Harlan Lucky", "0916-05-04").
dob("Holly Lucky", "0996-05-02").
dob("Ilona Dyer", "1017-06-24").
dob("Jerrold Lucky", "0857-03-06").
dob("Jess Ellsworth", "1039-06-09").
dob("Jewel Dyer", "0992-04-04").
dob("Judith Slate", "0858-03-23").
dob("Katharine Lucky", "0938-06-11").
dob("Ken Pirtle", "0967-07-11").
dob("Kermit Swink", "0936-04-05").
dob("Kimberely Lucky", "0864-10-24").
dob("Lauren Pirtle", "0974-04-02").
dob("Laverna Ellsworth", "1015-12-22").
dob("Leena Lucky", "0968-09-03").
dob("Lincoln Oneil", "0882-03-28").
dob("Lisa Dyer", "0989-08-06").
dob("Lois Oneil", "0881-07-26").
dob("Lowell Lucky", "0835-07-27").
dob("Luke Slate", "0860-12-04").
dob("Meryl Lucky", "0911-05-16").
dob("My Swink", "0913-10-14").
dob("Nelly Lucky", "0966-01-01").
dob("Odelia Lucky", "0918-09-23").
dob("Paris Lucky", "0939-01-12").
dob("Renaldo Dyer", "0992-03-06").
dob("Ricardo Lucky", "0887-08-17").
dob("Romana Dyer", "0994-08-14").
dob("Roosevelt Dyer", "0990-05-21").
dob("Selina Slate", "0887-06-30").
dob("Sherita Dyer", "0965-02-24").
dob("Stevie Dyer", "0965-11-22").
dob("Wesley Pirtle", "0971-01-12").
dob("Wilmer Pirtle", "0942-09-22").
dob("Winnie Lucky", "0835-07-11").
dob("Alejandrina Preciado", "1045-03-11").
dob("Aletha Mccune", "0938-08-26").
dob("Amie Preciado", "0962-01-21").
dob("Annabell Mccune", "0970-01-22").
dob("Belva Mccune", "0998-07-18").
dob("Benjamin Mullins", "0940-02-25").
dob("Caleb Langford", "0963-05-06").
dob("Chelsie Roldan", "1078-06-02").
dob("Chloe Mccune", "0968-08-02").
dob("Conrad Mccune", "0937-01-22").
dob("Cristopher Homan", "1014-04-19").
dob("Daniela Bishop", "0986-07-12").
dob("Deane Medley", "1016-04-12").
dob("Deena Munroe", "1015-03-04").
dob("Deidre Medley", "0988-10-12").
dob("Demetria Decosta", "1014-11-06").
dob("Deshawn Munroe", "1018-02-08").
dob("Devon Preciado", "1017-09-23").
dob("Doug Medley", "0987-02-27").
dob("Federico Keene", "1048-07-11").
dob("Gemma Keene", "0993-06-29").
dob("Gordon Decosta", "1012-08-17").
dob("Hans Decosta", "1044-03-24").
dob("Jacque Mullins", "0940-08-06").
dob("Jamey Turnage", "0984-04-12").
dob("Jamie Rounds", "1018-12-07").
dob("Jon Preciado", "0961-09-17").
dob("Josie Langford", "0965-07-05").
dob("Katerine Mullins", "0913-02-02").
dob("Kathey Turnage", "0986-01-11").
dob("Kelley Preciado", "0990-04-20").
dob("Lavonne Rounds", "1018-10-12").
dob("Lorina Homan", "0987-07-03").
dob("Nestor Preciado", "1046-02-24").
dob("Paula Preciado", "1042-03-28").
dob("Pete Mullins", "0913-06-11").
dob("Queenie Homan", "1020-09-18").
dob("Rolland Bishop", "0991-06-13").
dob("Romana Bishop", "0962-12-19").
dob("Ronald Mccune", "0969-03-07").
dob("Ruby Preciado", "1018-11-16").
dob("Rudolph Keene", "1019-06-20").
dob("Sam Bishop", "1024-06-16").
dob("Sanford Preciado", "0989-07-15").
dob("Santiago Homan", "0982-06-26").
dob("Santos Rounds", "1049-03-17").
dob("Sherrie Keene", "1019-05-13").
dob("Stacey Roldan", "1050-05-24").
dob("Vaughn Bishop", "0958-07-06").
dob("Zackary Keene", "0993-03-04").
dob("Zoraida Roldan", "1051-12-04").

:- 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("Alethia Kidd", person).
type("Alexis Kingsley", person).
type("Ana Colin", person).
type("Antionette Song", person).
type("Byron Song", person).
type("Carlos Baptiste", person).
type("Damon Song", person).
type("Danilo Colin", person).
type("Deirdre Bivins", person).
type("Eddie Song", person).
type("Elisabeth Kingsley", person).
type("Felton Kidd", person).
type("Freda Song", person).
type("Gene Song", person).
type("Genesis Colin", person).
type("Geneva Song", person).
type("Gilbert Summerlin", person).
type("Hannah Bivins", person).
type("Hyun Song", person).
type("Idell Kidd", person).
type("Isidro Kidd", person).
type("Jamal Song", person).
type("Jeana Song", person).
type("Jesse Kiel", person).
type("Jolene Song", person).
type("Lance Kiel", person).
type("Lester Bivins", person).
type("Lynda Colin", person).
type("Madaline Song", person).
type("Matilda Summerlin", person).
type("Maynard Song", person).
type("Mckinley Colin", person).
type("Meghann Kidd", person).
type("Melvin Kidd", person).
type("Nathaniel Song", person).
type("Nikki Kidd", person).
type("Nina Song", person).
type("Noreen Kingsley", person).
type("Ramona Colin", person).
type("Romelia Song", person).
type("Seymour Song", person).
type("Shelly Reece", person).
type("Sol Song", person).
type("Stephan Kidd", person).
type("Tawana Summerlin", person).
type("Thomasine Kidd", person).
type("Tod Song", person).
type("Twila Baptiste", person).
type("Winfred Baptiste", person).
type("Wyatt Reece", person).
type("Yvette Song", person).
type("Adah Camper", person).
type("Adele Ahmad", person).
type("Amos Vargas", person).
type("Angie Vargas", person).
type("Ayesha Abbate", person).
type("Bradley Yocum", person).
type("Carina Vargas", person).
type("Christa Vargas", person).
type("David Mcclelland", person).
type("Derek Flatt", person).
type("Eddy Vargas", person).
type("Elfriede Moffitt", person).
type("Eli Flatt", person).
type("Elvie Vargas", person).
type("Errol Camper", person).
type("Forrest Vargas", person).
type("Fred Vargas", person).
type("Gerry Vargas", person).
type("Ginger Hamrick", person).
type("Harriette Vargas", person).
type("Ivan Abbate", person).
type("Jeannie Loper", person).
type("Joey Mcclelland", person).
type("Kacey Yocum", person).
type("Kendrick Vargas", person).
type("Kraig Hamrick", person).
type("Livia Camper", person).
type("Marlana Mcclelland", person).
type("Millard Camper", person).
type("Newton Moffitt", person).
type("Nicholas Vargas", person).
type("Noe Vargas", person).
type("Page Vargas", person).
type("Pamula Flatt", person).
type("Raphael Vargas", person).
type("Renaldo Ahmad", person).
type("Robyn Vargas", person).
type("Ronnie Vargas", person).
type("Rosie Vargas", person).
type("Son Loper", person).
type("Stevie Vargas", person).
type("Thelma Flatt", person).
type("Theodore Yocum", person).
type("Theron Mcclelland", person).
type("Toney Vargas", person).
type("Valentina Vargas", person).
type("Wendell Flatt", person).
type("Will Vargas", person).
type("Winnifred Mcclelland", person).
type("Xavier Vargas", person).
type("Antionette Dyer", person).
type("Anton Swink", person).
type("Cara Lucky", person).
type("Christina Lucky", person).
type("Damion Swink", person).
type("Dwain Lucky", person).
type("Ellis Lucky", person).
type("Emil Lucky", person).
type("Ervin Swink", person).
type("Eugene Ellsworth", person).
type("Floyd Lucky", person).
type("Freda Dyer", person).
type("Frederick Lucky", person).
type("Gabriele Lucky", person).
type("Gemma Pirtle", person).
type("Hank Lucky", person).
type("Harlan Lucky", person).
type("Holly Lucky", person).
type("Ilona Dyer", person).
type("Jerrold Lucky", person).
type("Jess Ellsworth", person).
type("Jewel Dyer", person).
type("Judith Slate", person).
type("Katharine Lucky", person).
type("Ken Pirtle", person).
type("Kermit Swink", person).
type("Kimberely Lucky", person).
type("Lauren Pirtle", person).
type("Laverna Ellsworth", person).
type("Leena Lucky", person).
type("Lincoln Oneil", person).
type("Lisa Dyer", person).
type("Lois Oneil", person).
type("Lowell Lucky", person).
type("Luke Slate", person).
type("Meryl Lucky", person).
type("My Swink", person).
type("Nelly Lucky", person).
type("Odelia Lucky", person).
type("Paris Lucky", person).
type("Renaldo Dyer", person).
type("Ricardo Lucky", person).
type("Romana Dyer", person).
type("Roosevelt Dyer", person).
type("Selina Slate", person).
type("Sherita Dyer", person).
type("Stevie Dyer", person).
type("Wesley Pirtle", person).
type("Wilmer Pirtle", person).
type("Winnie Lucky", person).
type("Alejandrina Preciado", person).
type("Aletha Mccune", person).
type("Amie Preciado", person).
type("Annabell Mccune", person).
type("Belva Mccune", person).
type("Benjamin Mullins", person).
type("Caleb Langford", person).
type("Chelsie Roldan", person).
type("Chloe Mccune", person).
type("Conrad Mccune", person).
type("Cristopher Homan", person).
type("Daniela Bishop", person).
type("Deane Medley", person).
type("Deena Munroe", person).
type("Deidre Medley", person).
type("Demetria Decosta", person).
type("Deshawn Munroe", person).
type("Devon Preciado", person).
type("Doug Medley", person).
type("Federico Keene", person).
type("Gemma Keene", person).
type("Gordon Decosta", person).
type("Hans Decosta", person).
type("Jacque Mullins", person).
type("Jamey Turnage", person).
type("Jamie Rounds", person).
type("Jon Preciado", person).
type("Josie Langford", person).
type("Katerine Mullins", person).
type("Kathey Turnage", person).
type("Kelley Preciado", person).
type("Lavonne Rounds", person).
type("Lorina Homan", person).
type("Nestor Preciado", person).
type("Paula Preciado", person).
type("Pete Mullins", person).
type("Queenie Homan", person).
type("Rolland Bishop", person).
type("Romana Bishop", person).
type("Ronald Mccune", person).
type("Ruby Preciado", person).
type("Rudolph Keene", person).
type("Sam Bishop", person).
type("Sanford Preciado", person).
type("Santiago Homan", person).
type("Santos Rounds", person).
type("Sherrie Keene", person).
type("Stacey Roldan", person).
type("Vaughn Bishop", person).
type("Zackary Keene", person).
type("Zoraida Roldan", person).

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

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


:- dynamic attribute/1.

attribute("academic librarian").
attribute("amateur astronomy").
attribute("clinical research associate").
attribute("crystals").
attribute("museum curator").
attribute("stamp collecting").
attribute("technical sales engineer").
attribute("trainspotting").
attribute("advertising account planner").
attribute("animation").
attribute("toxicologist").
attribute("esports").
attribute("education administrator").
attribute("magnet fishing").
attribute("colour technologist").
attribute("billiards").
attribute("regulatory affairs officer").
attribute("iceboat racing").
attribute("gaffer").
attribute("aerospace").
attribute("producer").
attribute("learning").
attribute("newspaper journalist").
attribute("meteorology").
attribute("social researcher").
attribute("learning").
attribute("learning disability nurse").
attribute("trapshooting").
attribute("interior and spatial designer").
attribute("shoes").
attribute("pharmacologist").
attribute("meteorology").
attribute("investment banker").
attribute("birdwatching").
attribute("biomedical engineer").
attribute("mahjong").
attribute("marketing executive").
attribute("horseback riding").
attribute("chartered legal executive").
attribute("birdwatching").
attribute("public relations officer").
attribute("air sports").
attribute("nutritional therapist").
attribute("publishing").
attribute("psychotherapist").
attribute("fossicking").
attribute("production designer").
attribute("dolls").
attribute("phytotherapist").
attribute("web design").
attribute("training and development officer").
attribute("tourism").
attribute("electronics engineer").
attribute("lapel pins").
attribute("contracting civil engineer").
attribute("slot car").
attribute("air traffic controller").
attribute("audiophile").
attribute("airline pilot").
attribute("model united nations").
attribute("IT consultant").
attribute("insect collecting").
attribute("geophysical data processor").
attribute("baking").
attribute("careers information officer").
attribute("mineral collecting").
attribute("applications developer").
attribute("stone collecting").
attribute("architectural technologist").
attribute("dandyism").
attribute("horticultural therapist").
attribute("mineral collecting").
attribute("theme park manager").
attribute("digital hoarding").
attribute("animal nutritionist").
attribute("reading").
attribute("education administrator").
attribute("pinball").
attribute("community development worker").
attribute("dog sport").
attribute("ophthalmologist").
attribute("research").
attribute("lobbyist").
attribute("butterfly watching").
attribute("telecommunications researcher").
attribute("research").
attribute("social worker").
attribute("stamp collecting").
attribute("exercise physiologist").
attribute("jogging").
attribute("senior tax professional").
attribute("rowing").
attribute("environmental consultant").
attribute("sport stacking").
attribute("soil scientist").
attribute("audiophile").
attribute("interpreter").
attribute("seashell collecting").
attribute("professor emeritus").
attribute("skateboarding").
attribute("archivist").
attribute("lomography").
attribute("herpetologist").
attribute("ant farming").
attribute("transport planner").
attribute("rock tumbling").
attribute("advice worker").
attribute("birdwatching").
attribute("hospital pharmacist").
attribute("model aircraft").
attribute("network engineer").
attribute("die-cast toy").
attribute("personal assistant").
attribute("metal detecting").
attribute("tax inspector").
attribute("learning").
attribute("industrial buyer").
attribute("phillumeny").
attribute("physicist").
attribute("cycling").
attribute("sub").
attribute("benchmarking").
attribute("market researcher").
attribute("sociology").
attribute("building services engineer").
attribute("shoes").
attribute("general practice doctor").
attribute("jujitsu").
attribute("dispensing optician").
attribute("tourism").
attribute("company secretary").
attribute("ant farming").
attribute("sub").
attribute("slot car racing").
attribute("accounting technician").
attribute("flower collecting and pressing").
attribute("local government officer").
attribute("videography").
attribute("magazine features editor").
attribute("powerlifting").
attribute("publishing rights manager").
attribute("picnicking").
attribute("government social research officer").
attribute("stone collecting").
attribute("mudlogger").
attribute("sea glass collecting").
attribute("senior tax professional").
attribute("radio-controlled model playing").
attribute("patent examiner").
attribute("badminton").
attribute("science writer").
attribute("insect collecting").
attribute("estate agent").
attribute("animation").
attribute("lighting technician").
attribute("bowling").
attribute("fine artist").
attribute("disc golf").
attribute("ship broker").
attribute("model aircraft").
attribute("tree surgeon").
attribute("ant farming").
attribute("geologist").
attribute("geography").
attribute("restaurant manager").
attribute("meditation").
attribute("designer").
attribute("slot car racing").
attribute("drilling engineer").
attribute("stone collecting").
attribute("radiographer").
attribute("roundnet").
attribute("legal secretary").
attribute("chemistry").
attribute("health visitor").
attribute("tether car").
attribute("medical physicist").
attribute("roller skating").
attribute("engineer").
attribute("aircraft spotting").
attribute("geophysical data processor").
attribute("martial arts").
attribute("midwife").
attribute("rowing").
attribute("financial risk analyst").
attribute("philately").
attribute("English as a foreign language teacher").
attribute("research").
attribute("personnel officer").
attribute("butterfly watching").
attribute("systems analyst").
attribute("neuroscience").
attribute("animator").
attribute("judo").
attribute("educational psychologist").
attribute("cycling").
attribute("production manager").
attribute("myrmecology").
attribute("magazine journalist").
attribute("auto audiophilia").
attribute("runner").
attribute("lomography").
attribute("learning disability nurse").
attribute("mountaineering").
attribute("radiation protection practitioner").
attribute("knife throwing").
attribute("advertising art director").
attribute("learning").
attribute("scientific laboratory technician").
attribute("archery").
attribute("call centre manager").
attribute("magnet fishing").
attribute("arts development officer").
attribute("compact discs").
attribute("estate agent").
attribute("social studies").
attribute("furniture conservator").
attribute("skateboarding").
attribute("travel agency manager").
attribute("high-power rocketry").
attribute("maintenance engineer").
attribute("table tennis").
attribute("conservation officer").
attribute("mathematics").
attribute("copy").
attribute("linguistics").
attribute("sales professional").
attribute("rugby league football").
attribute("graphic designer").
attribute("meditation").
attribute("special educational needs teacher").
attribute("animation").
attribute("astronomer").
attribute("judo").
attribute("sales promotion account executive").
attribute("engineering").
attribute("accounting technician").
attribute("trainspotting").
attribute("corporate investment banker").
attribute("jukskei").
attribute("insurance broker").
attribute("jurisprudential").
attribute("advertising account planner").
attribute("life science").
attribute("interpreter").
attribute("geocaching").
attribute("writer").
attribute("stamp collecting").
attribute("advertising account planner").
attribute("snorkeling").
attribute("actuary").
attribute("exhibition drill").
attribute("clinical biochemist").
attribute("magnet fishing").
attribute("communications engineer").
attribute("bus spotting").
attribute("publishing copy").
attribute("fishkeeping").
attribute("database administrator").
attribute("microscopy").
attribute("retail buyer").
attribute("fishkeeping").
attribute("magazine features editor").
attribute("mineral collecting").
attribute("heritage manager").
attribute("philately").
attribute("commercial horticulturist").
attribute("breakdancing").
attribute("presenter").
attribute("leaves").
attribute("administrator").
attribute("hobby horsing").
attribute("marine scientist").
attribute("model united nations").
attribute("rural practice surveyor").
attribute("amateur astronomy").
attribute("occupational hygienist").
attribute("botany").
attribute("town planner").
attribute("ice hockey").
attribute("firefighter").
attribute("leaves").
attribute("publishing rights manager").
attribute("rappelling").
attribute("charity fundraiser").
attribute("dolls").
attribute("paediatric nurse").
attribute("comic book collecting").
attribute("licensed conveyancer").
attribute("hiking/backpacking").
attribute("music therapist").
attribute("fishkeeping").
attribute("building control surveyor").
attribute("beekeeping").
attribute("records manager").
attribute("die-cast toy").
attribute("social worker").
attribute("curling").
attribute("industrial designer").
attribute("bridge").
attribute("hydrographic surveyor").
attribute("tennis polo").
attribute("trade union research officer").
attribute("race walking").
attribute("fisheries officer").
attribute("camping").
attribute("public relations account executive").
attribute("photography").
attribute("editorial assistant").
attribute("butterfly watching").
attribute("brewing technologist").
attribute("web design").
attribute("dramatherapist").
attribute("zoo visiting").
attribute("conference centre manager").
attribute("biology").
attribute("embryologist").
attribute("tennis polo").
attribute("geoscientist").
attribute("web design").
attribute("trade mark attorney").
attribute("ant-keeping").
attribute("multimedia specialist").
attribute("whale watching").
attribute("biochemist").
attribute("botany").
attribute("senior tax professional").
attribute("shopping").
attribute("copywriter").
attribute("hiking/backpacking").
attribute("lecturer").
attribute("ice skating").
attribute("development worker").
attribute("air hockey").
attribute("educational psychologist").
attribute("ant-keeping").
attribute("IT sales professional").
attribute("medical science").
attribute("accountant").
attribute("stone skipping").
attribute("physiotherapist").
attribute("equestrianism").
attribute("energy manager").
attribute("record collecting").
attribute("chief of staff").
attribute("skiing").
attribute("conference centre manager").
attribute("deltiology").
attribute("doctor").
attribute("roller skating").
attribute("data scientist").
attribute("insect collecting").
attribute("exercise physiologist").
attribute("people-watching").
attribute("physicist").
attribute("reading").
attribute("health physicist").
attribute("meditation").
attribute("fisheries officer").
attribute("sports science").
attribute("corporate treasurer").
attribute("ice hockey").
attribute("customer service manager").
attribute("flower collecting and pressing").
attribute("bookseller").
attribute("fusilately").
attribute("trade union research officer").
attribute("web design").
attribute("geochemist").
attribute("jujitsu").
attribute("furniture designer").
attribute("vintage clothing").
attribute("clinical research associate").
attribute("audiophile").
attribute("public house manager").
attribute("curling").
attribute("toxicologist").
attribute("slot car").
attribute("public house manager").
attribute("road biking").
attribute("optometrist").
attribute("perfume").
attribute("artist").
attribute("microscopy").
attribute("development worker").
attribute("herping").
attribute("chemist").
attribute("butterfly watching").
attribute("primary school teacher").
attribute("meditation").
attribute("civil engineer").
attribute("perfume").
attribute("photographer").
attribute("mineral collecting").
attribute("trade mark attorney").
attribute("fishkeeping").
attribute("IT technical support officer").
attribute("mineral collecting").
attribute("fitness centre manager").
attribute("phillumeny").
attribute("press photographer").
attribute("radio-controlled model playing").
attribute("textile designer").
attribute("magnet fishing").

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_("Alethia Kidd", "Eddy Vargas").
friend_("Alethia Kidd", "Chloe Mccune").
friend_("Alexis Kingsley", "Jeana Song").
friend_("Alexis Kingsley", "Adah Camper").
friend_("Alexis Kingsley", "Nelly Lucky").
friend_("Alexis Kingsley", "Lorina Homan").
friend_("Ana Colin", "Stephan Kidd").
friend_("Ana Colin", "Stevie Vargas").
friend_("Ana Colin", "Damion Swink").
friend_("Ana Colin", "Gemma Pirtle").
friend_("Ana Colin", "Paula Preciado").
friend_("Antionette Song", "Byron Song").
friend_("Antionette Song", "Matilda Summerlin").
friend_("Antionette Song", "Adah Camper").
friend_("Antionette Song", "Harriette Vargas").
friend_("Antionette Song", "Jeannie Loper").
friend_("Antionette Song", "Renaldo Ahmad").
friend_("Antionette Song", "Ilona Dyer").
friend_("Antionette Song", "Lois Oneil").
friend_("Byron Song", "Theron Mcclelland").
friend_("Byron Song", "Ervin Swink").
friend_("Byron Song", "Meryl Lucky").
friend_("Byron Song", "Deidre Medley").
friend_("Carlos Baptiste", "Adele Ahmad").
friend_("Carlos Baptiste", "Ricardo Lucky").
friend_("Damon Song", "Raphael Vargas").
friend_("Damon Song", "Jerrold Lucky").
friend_("Damon Song", "Lisa Dyer").
friend_("Damon Song", "Meryl Lucky").
friend_("Danilo Colin", "Theron Mcclelland").
friend_("Danilo Colin", "Cara Lucky").
friend_("Danilo Colin", "Caleb Langford").
friend_("Danilo Colin", "Jon Preciado").
friend_("Deirdre Bivins", "Meryl Lucky").
friend_("Deirdre Bivins", "Sanford Preciado").
friend_("Eddie Song", "Lavonne Rounds").
friend_("Elisabeth Kingsley", "Carina Vargas").
friend_("Elisabeth Kingsley", "Errol Camper").
friend_("Elisabeth Kingsley", "Theron Mcclelland").
friend_("Elisabeth Kingsley", "Anton Swink").
friend_("Elisabeth Kingsley", "Renaldo Dyer").
friend_("Elisabeth Kingsley", "Jon Preciado").
friend_("Felton Kidd", "Christa Vargas").
friend_("Felton Kidd", "Lois Oneil").
friend_("Felton Kidd", "Paula Preciado").
friend_("Freda Song", "Bradley Yocum").
friend_("Freda Song", "Carina Vargas").
friend_("Gene Song", "Lester Bivins").
friend_("Gene Song", "Nina Song").
friend_("Gene Song", "Newton Moffitt").
friend_("Gene Song", "Leena Lucky").
friend_("Geneva Song", "Gilbert Summerlin").
friend_("Geneva Song", "Noreen Kingsley").
friend_("Geneva Song", "Sherita Dyer").
friend_("Geneva Song", "Rudolph Keene").
friend_("Geneva Song", "Stacey Roldan").
friend_("Gilbert Summerlin", "Livia Camper").
friend_("Gilbert Summerlin", "Jon Preciado").
friend_("Hannah Bivins", "Meghann Kidd").
friend_("Hannah Bivins", "David Mcclelland").
friend_("Hannah Bivins", "Millard Camper").
friend_("Hannah Bivins", "Jewel Dyer").
friend_("Hannah Bivins", "Cristopher Homan").
friend_("Hyun Song", "Nicholas Vargas").
friend_("Hyun Song", "Theodore Yocum").
friend_("Hyun Song", "Leena Lucky").
friend_("Hyun Song", "Katerine Mullins").
friend_("Idell Kidd", "Jewel Dyer").
friend_("Idell Kidd", "Laverna Ellsworth").
friend_("Idell Kidd", "Meryl Lucky").
friend_("Idell Kidd", "Demetria Decosta").
friend_("Isidro Kidd", "Stephan Kidd").
friend_("Isidro Kidd", "Selina Slate").
friend_("Jamal Song", "Jeana Song").
friend_("Jamal Song", "Son Loper").
friend_("Jamal Song", "Annabell Mccune").
friend_("Jeana Song", "Jolene Song").
friend_("Jesse Kiel", "Rudolph Keene").
friend_("Jesse Kiel", "Zoraida Roldan").
friend_("Jolene Song", "Meghann Kidd").
friend_("Jolene Song", "Robyn Vargas").
friend_("Lance Kiel", "Gabriele Lucky").
friend_("Lance Kiel", "Harlan Lucky").
friend_("Lance Kiel", "Luke Slate").
friend_("Lance Kiel", "Stevie Dyer").
friend_("Lance Kiel", "Amie Preciado").
friend_("Lester Bivins", "Meghann Kidd").
friend_("Lester Bivins", "Deshawn Munroe").
friend_("Matilda Summerlin", "Bradley Yocum").
friend_("Matilda Summerlin", "Carina Vargas").
friend_("Matilda Summerlin", "Harlan Lucky").
friend_("Maynard Song", "Leena Lucky").
friend_("Maynard Song", "Hans Decosta").
friend_("Mckinley Colin", "Jeannie Loper").
friend_("Meghann Kidd", "Lowell Lucky").
friend_("Melvin Kidd", "Jess Ellsworth").
friend_("Melvin Kidd", "Federico Keene").
friend_("Melvin Kidd", "Kathey Turnage").
friend_("Nathaniel Song", "Ayesha Abbate").
friend_("Nathaniel Song", "Rosie Vargas").
friend_("Nikki Kidd", "David Mcclelland").
friend_("Nikki Kidd", "Derek Flatt").
friend_("Nikki Kidd", "Jerrold Lucky").
friend_("Nikki Kidd", "Wilmer Pirtle").
friend_("Noreen Kingsley", "Romelia Song").
friend_("Noreen Kingsley", "Twila Baptiste").
friend_("Noreen Kingsley", "Emil Lucky").
friend_("Noreen Kingsley", "Jewel Dyer").
friend_("Ramona Colin", "Romelia Song").
friend_("Ramona Colin", "Newton Moffitt").
friend_("Ramona Colin", "Amie Preciado").
friend_("Ramona Colin", "Benjamin Mullins").
friend_("Romelia Song", "Seymour Song").
friend_("Romelia Song", "Laverna Ellsworth").
friend_("Romelia Song", "Ricardo Lucky").
friend_("Romelia Song", "Federico Keene").
friend_("Seymour Song", "Ronnie Vargas").
friend_("Seymour Song", "Sherita Dyer").
friend_("Shelly Reece", "Winnifred Mcclelland").
friend_("Sol Song", "Pamula Flatt").
friend_("Sol Song", "Lorina Homan").
friend_("Stephan Kidd", "Lauren Pirtle").
friend_("Stephan Kidd", "Paris Lucky").
friend_("Tawana Summerlin", "Ellis Lucky").
friend_("Tawana Summerlin", "Gemma Keene").
friend_("Thomasine Kidd", "Joey Mcclelland").
friend_("Thomasine Kidd", "Will Vargas").
friend_("Thomasine Kidd", "Jacque Mullins").
friend_("Tod Song", "Deena Munroe").
friend_("Tod Song", "Katerine Mullins").
friend_("Twila Baptiste", "Hank Lucky").
friend_("Twila Baptiste", "Laverna Ellsworth").
friend_("Winfred Baptiste", "Yvette Song").
friend_("Winfred Baptiste", "Romana Dyer").
friend_("Winfred Baptiste", "Demetria Decosta").
friend_("Winfred Baptiste", "Gordon Decosta").
friend_("Winfred Baptiste", "Zoraida Roldan").
friend_("Wyatt Reece", "Holly Lucky").
friend_("Wyatt Reece", "Lauren Pirtle").
friend_("Wyatt Reece", "Lisa Dyer").
friend_("Yvette Song", "Stevie Vargas").
friend_("Yvette Song", "Ilona Dyer").
friend_("Yvette Song", "Stevie Dyer").
friend_("Adah Camper", "Damion Swink").
friend_("Adah Camper", "Jewel Dyer").
friend_("Adah Camper", "Lauren Pirtle").
friend_("Adah Camper", "Lisa Dyer").
friend_("Adele Ahmad", "David Mcclelland").
friend_("Adele Ahmad", "Theodore Yocum").
friend_("Adele Ahmad", "Lauren Pirtle").
friend_("Adele Ahmad", "Alejandrina Preciado").
friend_("Adele Ahmad", "Federico Keene").
friend_("Amos Vargas", "Livia Camper").
friend_("Amos Vargas", "Son Loper").
friend_("Amos Vargas", "Romana Dyer").
friend_("Angie Vargas", "Eli Flatt").
friend_("Angie Vargas", "Nelly Lucky").
friend_("Bradley Yocum", "Kacey Yocum").
friend_("Carina Vargas", "Christa Vargas").
friend_("Christa Vargas", "Derek Flatt").
friend_("Christa Vargas", "Emil Lucky").
friend_("Christa Vargas", "Hans Decosta").
friend_("David Mcclelland", "Cara Lucky").
friend_("David Mcclelland", "Renaldo Dyer").
friend_("Derek Flatt", "Elvie Vargas").
friend_("Derek Flatt", "Robyn Vargas").
friend_("Derek Flatt", "Thelma Flatt").
friend_("Derek Flatt", "Chelsie Roldan").
friend_("Eddy Vargas", "Elfriede Moffitt").
friend_("Eddy Vargas", "Gemma Keene").
friend_("Elfriede Moffitt", "My Swink").
friend_("Elvie Vargas", "Lorina Homan").
friend_("Errol Camper", "Ivan Abbate").
friend_("Errol Camper", "Kathey Turnage").
friend_("Forrest Vargas", "Raphael Vargas").
friend_("Fred Vargas", "Zoraida Roldan").
friend_("Ginger Hamrick", "Raphael Vargas").
friend_("Ginger Hamrick", "Romana Bishop").
friend_("Ginger Hamrick", "Sanford Preciado").
friend_("Harriette Vargas", "Lincoln Oneil").
friend_("Ivan Abbate", "Nelly Lucky").
friend_("Ivan Abbate", "Wilmer Pirtle").
friend_("Joey Mcclelland", "Robyn Vargas").
friend_("Joey Mcclelland", "Zoraida Roldan").
friend_("Kraig Hamrick", "Renaldo Dyer").
friend_("Kraig Hamrick", "Zackary Keene").
friend_("Livia Camper", "Kermit Swink").
friend_("Livia Camper", "Romana Dyer").
friend_("Marlana Mcclelland", "Josie Langford").
friend_("Millard Camper", "Will Vargas").
friend_("Newton Moffitt", "Lowell Lucky").
friend_("Newton Moffitt", "Stacey Roldan").
friend_("Nicholas Vargas", "Noe Vargas").
friend_("Nicholas Vargas", "Wendell Flatt").
friend_("Nicholas Vargas", "Leena Lucky").
friend_("Noe Vargas", "Caleb Langford").
friend_("Noe Vargas", "Hans Decosta").
friend_("Pamula Flatt", "Lisa Dyer").
friend_("Pamula Flatt", "Winnie Lucky").
friend_("Pamula Flatt", "Chelsie Roldan").
friend_("Renaldo Ahmad", "Benjamin Mullins").
friend_("Robyn Vargas", "Jerrold Lucky").
friend_("Robyn Vargas", "Winnie Lucky").
friend_("Robyn Vargas", "Rolland Bishop").
friend_("Ronnie Vargas", "Christina Lucky").
friend_("Ronnie Vargas", "Ken Pirtle").
friend_("Ronnie Vargas", "Deane Medley").
friend_("Stevie Vargas", "Wesley Pirtle").
friend_("Stevie Vargas", "Wilmer Pirtle").
friend_("Thelma Flatt", "Theron Mcclelland").
friend_("Thelma Flatt", "Will Vargas").
friend_("Thelma Flatt", "Wilmer Pirtle").
friend_("Theron Mcclelland", "Leena Lucky").
friend_("Theron Mcclelland", "Rudolph Keene").
friend_("Toney Vargas", "Ilona Dyer").
friend_("Toney Vargas", "Kimberely Lucky").
friend_("Toney Vargas", "Rolland Bishop").
friend_("Valentina Vargas", "Lowell Lucky").
friend_("Valentina Vargas", "Zoraida Roldan").
friend_("Wendell Flatt", "Jess Ellsworth").
friend_("Wendell Flatt", "Kermit Swink").
friend_("Wendell Flatt", "Ricardo Lucky").
friend_("Wendell Flatt", "Doug Medley").
friend_("Wendell Flatt", "Rudolph Keene").
friend_("Will Vargas", "Rudolph Keene").
friend_("Xavier Vargas", "Floyd Lucky").
friend_("Antionette Dyer", "Romana Bishop").
friend_("Anton Swink", "Ellis Lucky").
friend_("Cara Lucky", "Hank Lucky").
friend_("Cara Lucky", "Nestor Preciado").
friend_("Christina Lucky", "Freda Dyer").
friend_("Christina Lucky", "Meryl Lucky").
friend_("Christina Lucky", "Deshawn Munroe").
friend_("Christina Lucky", "Nestor Preciado").
friend_("Christina Lucky", "Queenie Homan").
friend_("Damion Swink", "Katharine Lucky").
friend_("Dwain Lucky", "Eugene Ellsworth").
friend_("Dwain Lucky", "Holly Lucky").
friend_("Ellis Lucky", "Eugene Ellsworth").
friend_("Ellis Lucky", "Jacque Mullins").
friend_("Ervin Swink", "Sanford Preciado").
friend_("Eugene Ellsworth", "Jewel Dyer").
friend_("Eugene Ellsworth", "Katerine Mullins").
friend_("Eugene Ellsworth", "Santiago Homan").
friend_("Floyd Lucky", "Lincoln Oneil").
friend_("Floyd Lucky", "Belva Mccune").
friend_("Floyd Lucky", "Jamie Rounds").
friend_("Frederick Lucky", "Gemma Pirtle").
friend_("Frederick Lucky", "Laverna Ellsworth").
friend_("Gemma Pirtle", "Doug Medley").
friend_("Hank Lucky", "Leena Lucky").
friend_("Hank Lucky", "Meryl Lucky").
friend_("Hank Lucky", "Deane Medley").
friend_("Holly Lucky", "Benjamin Mullins").
friend_("Holly Lucky", "Ruby Preciado").
friend_("Jerrold Lucky", "Judith Slate").
friend_("Jerrold Lucky", "Aletha Mccune").
friend_("Jerrold Lucky", "Caleb Langford").
friend_("Jess Ellsworth", "Lisa Dyer").
friend_("Jess Ellsworth", "Jamie Rounds").
friend_("Jewel Dyer", "Kathey Turnage").
friend_("Judith Slate", "Ricardo Lucky").
friend_("Lincoln Oneil", "Chelsie Roldan").
friend_("Lois Oneil", "Conrad Mccune").
friend_("Lois Oneil", "Deane Medley").
friend_("Lowell Lucky", "Kelley Preciado").
friend_("Luke Slate", "Caleb Langford").
friend_("Luke Slate", "Conrad Mccune").
friend_("Luke Slate", "Sanford Preciado").
friend_("Nelly Lucky", "Chloe Mccune").
friend_("Odelia Lucky", "Kathey Turnage").
friend_("Paris Lucky", "Jamey Turnage").
friend_("Paris Lucky", "Sanford Preciado").
friend_("Renaldo Dyer", "Queenie Homan").
friend_("Ricardo Lucky", "Ruby Preciado").
friend_("Romana Dyer", "Caleb Langford").
friend_("Roosevelt Dyer", "Vaughn Bishop").
friend_("Selina Slate", "Kathey Turnage").
friend_("Stevie Dyer", "Benjamin Mullins").
friend_("Stevie Dyer", "Daniela Bishop").
friend_("Stevie Dyer", "Ronald Mccune").
friend_("Wilmer Pirtle", "Deshawn Munroe").
friend_("Wilmer Pirtle", "Santos Rounds").
friend_("Wilmer Pirtle", "Zackary Keene").
friend_("Winnie Lucky", "Conrad Mccune").
friend_("Winnie Lucky", "Queenie Homan").
friend_("Alejandrina Preciado", "Jon Preciado").
friend_("Benjamin Mullins", "Paula Preciado").
friend_("Caleb Langford", "Gemma Keene").
friend_("Chloe Mccune", "Paula Preciado").
friend_("Daniela Bishop", "Ruby Preciado").
friend_("Deane Medley", "Queenie Homan").
friend_("Demetria Decosta", "Kathey Turnage").
friend_("Devon Preciado", "Lorina Homan").
friend_("Federico Keene", "Zackary Keene").
friend_("Gemma Keene", "Gordon Decosta").
friend_("Jamey Turnage", "Jamie Rounds").
friend_("Jon Preciado", "Sam Bishop").
friend_("Josie Langford", "Paula Preciado").
friend_("Katerine Mullins", "Nestor Preciado").
friend_("Lavonne Rounds", "Queenie Homan").
friend_("Queenie Homan", "Sherrie Keene").
friend_("Santiago Homan", "Sherrie Keene").
friend_("Sherrie Keene", "Vaughn Bishop").

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("Ana Colin", "Danilo Colin").
parent("Ana Colin", "Ramona Colin").
parent("Carlos Baptiste", "Twila Baptiste").
parent("Carlos Baptiste", "Winfred Baptiste").
parent("Damon Song", "Antionette Song").
parent("Damon Song", "Sol Song").
parent("Deirdre Bivins", "Hannah Bivins").
parent("Deirdre Bivins", "Lester Bivins").
parent("Eddie Song", "Byron Song").
parent("Eddie Song", "Hyun Song").
parent("Elisabeth Kingsley", "Alexis Kingsley").
parent("Elisabeth Kingsley", "Noreen Kingsley").
parent("Felton Kidd", "Stephan Kidd").
parent("Felton Kidd", "Thomasine Kidd").
parent("Gene Song", "Antionette Song").
parent("Gene Song", "Sol Song").
parent("Genesis Colin", "Melvin Kidd").
parent("Genesis Colin", "Nikki Kidd").
parent("Geneva Song", "Antionette Song").
parent("Geneva Song", "Sol Song").
parent("Hannah Bivins", "Jamal Song").
parent("Hannah Bivins", "Yvette Song").
parent("Idell Kidd", "Stephan Kidd").
parent("Idell Kidd", "Thomasine Kidd").
parent("Isidro Kidd", "Alethia Kidd").
parent("Isidro Kidd", "Felton Kidd").
parent("Jamal Song", "Eddie Song").
parent("Jamal Song", "Nina Song").
parent("Jeana Song", "Eddie Song").
parent("Jeana Song", "Nina Song").
parent("Jolene Song", "Shelly Reece").
parent("Jolene Song", "Wyatt Reece").
parent("Lynda Colin", "Danilo Colin").
parent("Lynda Colin", "Ramona Colin").
parent("Madaline Song", "Eddie Song").
parent("Madaline Song", "Nina Song").
parent("Maynard Song", "Antionette Song").
parent("Maynard Song", "Sol Song").
parent("Mckinley Colin", "Danilo Colin").
parent("Mckinley Colin", "Ramona Colin").
parent("Meghann Kidd", "Melvin Kidd").
parent("Meghann Kidd", "Nikki Kidd").
parent("Melvin Kidd", "Alethia Kidd").
parent("Melvin Kidd", "Felton Kidd").
parent("Nathaniel Song", "Freda Song").
parent("Nathaniel Song", "Seymour Song").
parent("Nikki Kidd", "Gilbert Summerlin").
parent("Nikki Kidd", "Matilda Summerlin").
parent("Noreen Kingsley", "Gene Song").
parent("Noreen Kingsley", "Jolene Song").
parent("Ramona Colin", "Jesse Kiel").
parent("Ramona Colin", "Lance Kiel").
parent("Romelia Song", "Antionette Song").
parent("Romelia Song", "Sol Song").
parent("Seymour Song", "Eddie Song").
parent("Seymour Song", "Nina Song").
parent("Sol Song", "Jamal Song").
parent("Sol Song", "Yvette Song").
parent("Tawana Summerlin", "Gilbert Summerlin").
parent("Tawana Summerlin", "Matilda Summerlin").
parent("Tod Song", "Jamal Song").
parent("Tod Song", "Yvette Song").
parent("Twila Baptiste", "Hannah Bivins").
parent("Twila Baptiste", "Lester Bivins").
parent("Yvette Song", "Genesis Colin").
parent("Yvette Song", "Mckinley Colin").
parent("Adah Camper", "Livia Camper").
parent("Adah Camper", "Millard Camper").
parent("Amos Vargas", "Stevie Vargas").
parent("Amos Vargas", "Valentina Vargas").
parent("Angie Vargas", "Eli Flatt").
parent("Angie Vargas", "Pamula Flatt").
parent("David Mcclelland", "Joey Mcclelland").
parent("David Mcclelland", "Winnifred Mcclelland").
parent("Derek Flatt", "Eli Flatt").
parent("Derek Flatt", "Pamula Flatt").
parent("Eddy Vargas", "Harriette Vargas").
parent("Eddy Vargas", "Will Vargas").
parent("Elfriede Moffitt", "Jeannie Loper").
parent("Elfriede Moffitt", "Son Loper").
parent("Elvie Vargas", "Angie Vargas").
parent("Elvie Vargas", "Gerry Vargas").
parent("Errol Camper", "Livia Camper").
parent("Errol Camper", "Millard Camper").
parent("Forrest Vargas", "Angie Vargas").
parent("Forrest Vargas", "Gerry Vargas").
parent("Fred Vargas", "Amos Vargas").
parent("Fred Vargas", "Christa Vargas").
parent("Gerry Vargas", "Amos Vargas").
parent("Gerry Vargas", "Christa Vargas").
parent("Harriette Vargas", "Adele Ahmad").
parent("Harriette Vargas", "Renaldo Ahmad").
parent("Kacey Yocum", "Amos Vargas").
parent("Kacey Yocum", "Christa Vargas").
parent("Kendrick Vargas", "Angie Vargas").
parent("Kendrick Vargas", "Gerry Vargas").
parent("Livia Camper", "Elfriede Moffitt").
parent("Livia Camper", "Newton Moffitt").
parent("Marlana Mcclelland", "Angie Vargas").
parent("Marlana Mcclelland", "Gerry Vargas").
parent("Nicholas Vargas", "Kendrick Vargas").
parent("Nicholas Vargas", "Page Vargas").
parent("Noe Vargas", "Amos Vargas").
parent("Noe Vargas", "Christa Vargas").
parent("Pamula Flatt", "Ayesha Abbate").
parent("Pamula Flatt", "Ivan Abbate").
parent("Raphael Vargas", "Ronnie Vargas").
parent("Raphael Vargas", "Rosie Vargas").
parent("Robyn Vargas", "Carina Vargas").
parent("Robyn Vargas", "Xavier Vargas").
parent("Ronnie Vargas", "Harriette Vargas").
parent("Ronnie Vargas", "Will Vargas").
parent("Rosie Vargas", "Ginger Hamrick").
parent("Rosie Vargas", "Kraig Hamrick").
parent("Thelma Flatt", "Eli Flatt").
parent("Thelma Flatt", "Pamula Flatt").
parent("Theodore Yocum", "Bradley Yocum").
parent("Theodore Yocum", "Kacey Yocum").
parent("Theron Mcclelland", "David Mcclelland").
parent("Theron Mcclelland", "Marlana Mcclelland").
parent("Toney Vargas", "Angie Vargas").
parent("Toney Vargas", "Gerry Vargas").
parent("Valentina Vargas", "Livia Camper").
parent("Valentina Vargas", "Millard Camper").
parent("Wendell Flatt", "Eli Flatt").
parent("Wendell Flatt", "Pamula Flatt").
parent("Will Vargas", "Stevie Vargas").
parent("Will Vargas", "Valentina Vargas").
parent("Xavier Vargas", "Harriette Vargas").
parent("Xavier Vargas", "Will Vargas").
parent("Antionette Dyer", "Sherita Dyer").
parent("Antionette Dyer", "Stevie Dyer").
parent("Anton Swink", "Ervin Swink").
parent("Anton Swink", "My Swink").
parent("Christina Lucky", "Gabriele Lucky").
parent("Christina Lucky", "Ricardo Lucky").
parent("Damion Swink", "Ervin Swink").
parent("Damion Swink", "My Swink").
parent("Dwain Lucky", "Harlan Lucky").
parent("Dwain Lucky", "Odelia Lucky").
parent("Ellis Lucky", "Katharine Lucky").
parent("Ellis Lucky", "Paris Lucky").
parent("Emil Lucky", "Katharine Lucky").
parent("Emil Lucky", "Paris Lucky").
parent("Floyd Lucky", "Ellis Lucky").
parent("Floyd Lucky", "Leena Lucky").
parent("Freda Dyer", "Lisa Dyer").
parent("Freda Dyer", "Roosevelt Dyer").
parent("Frederick Lucky", "Gabriele Lucky").
parent("Frederick Lucky", "Ricardo Lucky").
parent("Gabriele Lucky", "Judith Slate").
parent("Gabriele Lucky", "Luke Slate").
parent("Gemma Pirtle", "Ervin Swink").
parent("Gemma Pirtle", "My Swink").
parent("Hank Lucky", "Ellis Lucky").
parent("Hank Lucky", "Leena Lucky").
parent("Harlan Lucky", "Gabriele Lucky").
parent("Harlan Lucky", "Ricardo Lucky").
parent("Holly Lucky", "Ellis Lucky").
parent("Holly Lucky", "Leena Lucky").
parent("Ilona Dyer", "Jewel Dyer").
parent("Ilona Dyer", "Renaldo Dyer").
parent("Jerrold Lucky", "Lowell Lucky").
parent("Jerrold Lucky", "Winnie Lucky").
parent("Jess Ellsworth", "Eugene Ellsworth").
parent("Jess Ellsworth", "Laverna Ellsworth").
parent("Katharine Lucky", "Ervin Swink").
parent("Katharine Lucky", "My Swink").
parent("Ken Pirtle", "Gemma Pirtle").
parent("Ken Pirtle", "Wilmer Pirtle").
parent("Kermit Swink", "Ervin Swink").
parent("Kermit Swink", "My Swink").
parent("Kimberely Lucky", "Lowell Lucky").
parent("Kimberely Lucky", "Winnie Lucky").
parent("Lauren Pirtle", "Gemma Pirtle").
parent("Lauren Pirtle", "Wilmer Pirtle").
parent("Laverna Ellsworth", "Lisa Dyer").
parent("Laverna Ellsworth", "Roosevelt Dyer").
parent("Meryl Lucky", "Gabriele Lucky").
parent("Meryl Lucky", "Ricardo Lucky").
parent("My Swink", "Lincoln Oneil").
parent("My Swink", "Lois Oneil").
parent("Nelly Lucky", "Katharine Lucky").
parent("Nelly Lucky", "Paris Lucky").
parent("Paris Lucky", "Harlan Lucky").
parent("Paris Lucky", "Odelia Lucky").
parent("Renaldo Dyer", "Sherita Dyer").
parent("Renaldo Dyer", "Stevie Dyer").
parent("Ricardo Lucky", "Cara Lucky").
parent("Ricardo Lucky", "Jerrold Lucky").
parent("Romana Dyer", "Sherita Dyer").
parent("Romana Dyer", "Stevie Dyer").
parent("Roosevelt Dyer", "Sherita Dyer").
parent("Roosevelt Dyer", "Stevie Dyer").
parent("Selina Slate", "Judith Slate").
parent("Selina Slate", "Luke Slate").
parent("Sherita Dyer", "Katharine Lucky").
parent("Sherita Dyer", "Paris Lucky").
parent("Wesley Pirtle", "Gemma Pirtle").
parent("Wesley Pirtle", "Wilmer Pirtle").
parent("Alejandrina Preciado", "Devon Preciado").
parent("Alejandrina Preciado", "Ruby Preciado").
parent("Aletha Mccune", "Katerine Mullins").
parent("Aletha Mccune", "Pete Mullins").
parent("Annabell Mccune", "Aletha Mccune").
parent("Annabell Mccune", "Conrad Mccune").
parent("Belva Mccune", "Chloe Mccune").
parent("Belva Mccune", "Ronald Mccune").
parent("Benjamin Mullins", "Katerine Mullins").
parent("Benjamin Mullins", "Pete Mullins").
parent("Chelsie Roldan", "Stacey Roldan").
parent("Chelsie Roldan", "Zoraida Roldan").
parent("Cristopher Homan", "Lorina Homan").
parent("Cristopher Homan", "Santiago Homan").
parent("Deane Medley", "Deidre Medley").
parent("Deane Medley", "Doug Medley").
parent("Deena Munroe", "Deidre Medley").
parent("Deena Munroe", "Doug Medley").
parent("Deidre Medley", "Romana Bishop").
parent("Deidre Medley", "Vaughn Bishop").
parent("Demetria Decosta", "Kelley Preciado").
parent("Demetria Decosta", "Sanford Preciado").
parent("Devon Preciado", "Kelley Preciado").
parent("Devon Preciado", "Sanford Preciado").
parent("Federico Keene", "Rudolph Keene").
parent("Federico Keene", "Sherrie Keene").
parent("Gemma Keene", "Chloe Mccune").
parent("Gemma Keene", "Ronald Mccune").
parent("Hans Decosta", "Demetria Decosta").
parent("Hans Decosta", "Gordon Decosta").
parent("Jacque Mullins", "Katerine Mullins").
parent("Jacque Mullins", "Pete Mullins").
parent("Josie Langford", "Aletha Mccune").
parent("Josie Langford", "Conrad Mccune").
parent("Kelley Preciado", "Caleb Langford").
parent("Kelley Preciado", "Josie Langford").
parent("Lavonne Rounds", "Kelley Preciado").
parent("Lavonne Rounds", "Sanford Preciado").
parent("Lorina Homan", "Caleb Langford").
parent("Lorina Homan", "Josie Langford").
parent("Nestor Preciado", "Devon Preciado").
parent("Nestor Preciado", "Ruby Preciado").
parent("Paula Preciado", "Devon Preciado").
parent("Paula Preciado", "Ruby Preciado").
parent("Queenie Homan", "Lorina Homan").
parent("Queenie Homan", "Santiago Homan").
parent("Rolland Bishop", "Romana Bishop").
parent("Rolland Bishop", "Vaughn Bishop").
parent("Romana Bishop", "Aletha Mccune").
parent("Romana Bishop", "Conrad Mccune").
parent("Ronald Mccune", "Aletha Mccune").
parent("Ronald Mccune", "Conrad Mccune").
parent("Ruby Preciado", "Jamey Turnage").
parent("Ruby Preciado", "Kathey Turnage").
parent("Rudolph Keene", "Gemma Keene").
parent("Rudolph Keene", "Zackary Keene").
parent("Sam Bishop", "Daniela Bishop").
parent("Sam Bishop", "Rolland Bishop").
parent("Sanford Preciado", "Amie Preciado").
parent("Sanford Preciado", "Jon Preciado").
parent("Santos Rounds", "Jamie Rounds").
parent("Santos Rounds", "Lavonne Rounds").
parent("Zoraida Roldan", "Deena Munroe").
parent("Zoraida Roldan", "Deshawn Munroe").

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("Alethia Kidd", "female").
gender("Alexis Kingsley", "male").
gender("Ana Colin", "female").
gender("Antionette Song", "female").
gender("Byron Song", "male").
gender("Carlos Baptiste", "male").
gender("Damon Song", "male").
gender("Danilo Colin", "male").
gender("Deirdre Bivins", "female").
gender("Eddie Song", "male").
gender("Elisabeth Kingsley", "female").
gender("Felton Kidd", "male").
gender("Freda Song", "female").
gender("Gene Song", "male").
gender("Genesis Colin", "female").
gender("Geneva Song", "female").
gender("Gilbert Summerlin", "male").
gender("Hannah Bivins", "female").
gender("Hyun Song", "female").
gender("Idell Kidd", "female").
gender("Isidro Kidd", "male").
gender("Jamal Song", "male").
gender("Jeana Song", "female").
gender("Jesse Kiel", "female").
gender("Jolene Song", "female").
gender("Lance Kiel", "male").
gender("Lester Bivins", "male").
gender("Lynda Colin", "female").
gender("Madaline Song", "female").
gender("Matilda Summerlin", "female").
gender("Maynard Song", "male").
gender("Mckinley Colin", "male").
gender("Meghann Kidd", "female").
gender("Melvin Kidd", "male").
gender("Nathaniel Song", "male").
gender("Nikki Kidd", "female").
gender("Nina Song", "female").
gender("Noreen Kingsley", "female").
gender("Ramona Colin", "female").
gender("Romelia Song", "female").
gender("Seymour Song", "male").
gender("Shelly Reece", "female").
gender("Sol Song", "male").
gender("Stephan Kidd", "male").
gender("Tawana Summerlin", "female").
gender("Thomasine Kidd", "female").
gender("Tod Song", "male").
gender("Twila Baptiste", "female").
gender("Winfred Baptiste", "male").
gender("Wyatt Reece", "male").
gender("Yvette Song", "female").
gender("Adah Camper", "female").
gender("Adele Ahmad", "female").
gender("Amos Vargas", "male").
gender("Angie Vargas", "female").
gender("Ayesha Abbate", "female").
gender("Bradley Yocum", "male").
gender("Carina Vargas", "female").
gender("Christa Vargas", "female").
gender("David Mcclelland", "male").
gender("Derek Flatt", "male").
gender("Eddy Vargas", "male").
gender("Elfriede Moffitt", "female").
gender("Eli Flatt", "male").
gender("Elvie Vargas", "female").
gender("Errol Camper", "male").
gender("Forrest Vargas", "male").
gender("Fred Vargas", "male").
gender("Gerry Vargas", "male").
gender("Ginger Hamrick", "female").
gender("Harriette Vargas", "female").
gender("Ivan Abbate", "male").
gender("Jeannie Loper", "female").
gender("Joey Mcclelland", "male").
gender("Kacey Yocum", "female").
gender("Kendrick Vargas", "male").
gender("Kraig Hamrick", "male").
gender("Livia Camper", "female").
gender("Marlana Mcclelland", "female").
gender("Millard Camper", "male").
gender("Newton Moffitt", "male").
gender("Nicholas Vargas", "male").
gender("Noe Vargas", "male").
gender("Page Vargas", "female").
gender("Pamula Flatt", "female").
gender("Raphael Vargas", "male").
gender("Renaldo Ahmad", "male").
gender("Robyn Vargas", "female").
gender("Ronnie Vargas", "male").
gender("Rosie Vargas", "female").
gender("Son Loper", "male").
gender("Stevie Vargas", "male").
gender("Thelma Flatt", "female").
gender("Theodore Yocum", "male").
gender("Theron Mcclelland", "male").
gender("Toney Vargas", "male").
gender("Valentina Vargas", "female").
gender("Wendell Flatt", "male").
gender("Will Vargas", "male").
gender("Winnifred Mcclelland", "female").
gender("Xavier Vargas", "male").
gender("Antionette Dyer", "female").
gender("Anton Swink", "male").
gender("Cara Lucky", "female").
gender("Christina Lucky", "female").
gender("Damion Swink", "male").
gender("Dwain Lucky", "male").
gender("Ellis Lucky", "male").
gender("Emil Lucky", "male").
gender("Ervin Swink", "male").
gender("Eugene Ellsworth", "male").
gender("Floyd Lucky", "male").
gender("Freda Dyer", "female").
gender("Frederick Lucky", "male").
gender("Gabriele Lucky", "female").
gender("Gemma Pirtle", "female").
gender("Hank Lucky", "male").
gender("Harlan Lucky", "male").
gender("Holly Lucky", "female").
gender("Ilona Dyer", "female").
gender("Jerrold Lucky", "male").
gender("Jess Ellsworth", "male").
gender("Jewel Dyer", "female").
gender("Judith Slate", "female").
gender("Katharine Lucky", "female").
gender("Ken Pirtle", "male").
gender("Kermit Swink", "male").
gender("Kimberely Lucky", "female").
gender("Lauren Pirtle", "female").
gender("Laverna Ellsworth", "female").
gender("Leena Lucky", "female").
gender("Lincoln Oneil", "male").
gender("Lisa Dyer", "female").
gender("Lois Oneil", "female").
gender("Lowell Lucky", "male").
gender("Luke Slate", "male").
gender("Meryl Lucky", "female").
gender("My Swink", "female").
gender("Nelly Lucky", "female").
gender("Odelia Lucky", "female").
gender("Paris Lucky", "male").
gender("Renaldo Dyer", "male").
gender("Ricardo Lucky", "male").
gender("Romana Dyer", "female").
gender("Roosevelt Dyer", "male").
gender("Selina Slate", "female").
gender("Sherita Dyer", "female").
gender("Stevie Dyer", "male").
gender("Wesley Pirtle", "male").
gender("Wilmer Pirtle", "male").
gender("Winnie Lucky", "female").
gender("Alejandrina Preciado", "female").
gender("Aletha Mccune", "female").
gender("Amie Preciado", "female").
gender("Annabell Mccune", "female").
gender("Belva Mccune", "female").
gender("Benjamin Mullins", "male").
gender("Caleb Langford", "male").
gender("Chelsie Roldan", "female").
gender("Chloe Mccune", "female").
gender("Conrad Mccune", "male").
gender("Cristopher Homan", "male").
gender("Daniela Bishop", "female").
gender("Deane Medley", "female").
gender("Deena Munroe", "female").
gender("Deidre Medley", "female").
gender("Demetria Decosta", "female").
gender("Deshawn Munroe", "male").
gender("Devon Preciado", "male").
gender("Doug Medley", "male").
gender("Federico Keene", "male").
gender("Gemma Keene", "female").
gender("Gordon Decosta", "male").
gender("Hans Decosta", "male").
gender("Jacque Mullins", "female").
gender("Jamey Turnage", "male").
gender("Jamie Rounds", "male").
gender("Jon Preciado", "male").
gender("Josie Langford", "female").
gender("Katerine Mullins", "female").
gender("Kathey Turnage", "female").
gender("Kelley Preciado", "female").
gender("Lavonne Rounds", "female").
gender("Lorina Homan", "female").
gender("Nestor Preciado", "male").
gender("Paula Preciado", "female").
gender("Pete Mullins", "male").
gender("Queenie Homan", "female").
gender("Rolland Bishop", "male").
gender("Romana Bishop", "female").
gender("Ronald Mccune", "male").
gender("Ruby Preciado", "female").
gender("Rudolph Keene", "male").
gender("Sam Bishop", "male").
gender("Sanford Preciado", "male").
gender("Santiago Homan", "male").
gender("Santos Rounds", "male").
gender("Sherrie Keene", "female").
gender("Stacey Roldan", "male").
gender("Vaughn Bishop", "male").
gender("Zackary Keene", "male").
gender("Zoraida Roldan", "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.