In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 3883, 9895, 8629, 'w', 2465, 'B', 3541, 'x', 'n', 'X', 'I', 'g', '4807', 'y', '6819', 'C', '8705', 'R', 'v', '1899', '4401', '1031', 'K', '7861', 'a', 'B', 'i', 'Y', 705, 2675, 7131, 'q', 'y', 'Y', 3493, 'm', 7785, 'U', 'E', 'Q', 'p', 767, 3069, 'o'], [7747, 773, 3245, 'P', 'p', 101, 'I', 'g', '4807', 'y', '6819', 'C', '8705', 'R', 'v', '1899', '4401', '1031', 'K', '7861', 'a', 'B', 'i', 'A', 'a', 'w']