In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'a', 8879, 3267, 805, 3251, '6083', '7527', 'p', '1467', 'H', '8039', 'k', 'N', 'j', 'k', 'W', 'r', 'J', '3411', '4247', '245', 'Z', 'o', 3803, 'B', 3079, 4129, 'h', 7587, 8187, 4989, 'Z', 'P', 3677, 3999, 'E', 7879], [7217, 5379, 2149, 'z', '6083', '7527', 'p', '1467', 'H', '8039', 'k', 'N', 'j', 'k', 'W', 'r', 'J', '3411', '4247', '245', 'e', 4197, 3265, 'C', 2577, 'C', 'p', 'U', 5501, 'T', 5143]