In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4089, 1895, 'P', 8837, 'm', 2349, 7081, 'V', 6055, 1309, 1043, 'H', 'A', 'w', 'W', '5535', '9851', 'g', '2115', 'v', '6199', '7063', '767', '4991', 'C', '853', 'y', 'e', 'K', '255', 'k', '3935', '8401', 'n', 6613, 'r', 3867, 7551, 'N', 'a', 991, 'Z', 6189, 'W', 'K', 'O', 'z'], [1495, 'V', 9149, 'h', 'g', 4329, 195, 'q', 2649, 7613, 4975, 10019, 'I', 589, 'p', 'K', 'Z', 3915, 3681, 'A', 'w', 'W', '5535', '9851', 'g', '2115', 'v', '6199', '7063', '767', '4991', 'C', '853', 'y', 'e', 'K', '255', 'k', '3935', '8401', 'r', 8119, 10001]