In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 1401, 'Q', 2949, 'g', 2757, 't', 8223, 4563, 'M', 'd', 'o', 1189, 'g', 1275, 'I', 'K', 7149, 'D', 'g', 'X', 'c', 'y', 'h', '3001', 'j', '9049', 's', 'M', 'h', 'e', 'g', 'v', '391', 'u', '675', '6693', '3451', 't', 'Q', 'X', 'U', 't', '923', 'e', '9297', 'X', 'W', 'a', 8905, 'K', 7417, 'g', 'T', 'v', 7151, 8759, 'E', 1179, 9111, 5759, 't', 'B', 1543, 'h', 9369, 'n', 'r', 'p'], ['t', 'F', 3859, 8453, 'k', 'Q', 'U', 'g', 'U', 8955, 5589, 'b', 113, 'D', 'g', 'X', 'c', 'y', 'h', '3001', 'j', '9049', 's', 'M', 'h', 'e', 'g', 'v', '391', 'u', '675', '6693', '3451', 't', 'Q', 'X', 'U', 't', '923', 'e', '9297', 'X', 'p', 'i', 8439, 'o', 5791, 5281, 'N', 'R', 9413, 4911, 'A', 1783, 'F', 4403, 'A', 'U', 5467, 'c', 3725, 2255]