In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 9795, 6229, 6871, 'l', 'O', 'g', 'C', 'b', 9823, 6039, 'p', '6795', 'Y', '5491', '891', 'H', 'I', 'i', 'u', 'R', '6715', 'c', '8883', '309', 'G', '5381', 'g', '5217', 'z', '8955', 'M', '6065', '10025', '505', 'C', '3049', 'N', 'u', 'p', 2177, 3727, 5333, 1335, 'X', 5773, 'H', 'L', 'k', 'n', 'J', 8877, 'w', 2431, 'C', 'n', 'x', 8863, 'C', 'F'], ['E', 2721, 2707, 'D', 'F', 9845, '6795', 'Y', '5491', '891', 'H', 'I', 'i', 'u', 'R', '6715', 'c', '8883', '309', 'G', '5381', 'g', '5217', 'z', '8955', 'M', '6065', '10025', '505', 'C', '3049', 'P', 4527, 'P', 4589, 1157, 'd', 'B', 4981, 'D', 6021, 'I']