In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 2597, 'R', 'x', 'd', 607, 2195, 'z', 2747, 'M', 'N', 'T', 'j', 7253, 5163, 5689, 'O', 8413, 8091, 'P', '6033', 'h', '7523', 'K', 'i', '2649', 'O', '6477', '763', '7455', 'v', '3213', '1033', 'c', 'C', '2351', '6491', '2049', '3879', '649', 'a', 'e', '5617', 'W', '7899', 'f', 'v', 6087, 3277, 7967, 'K', 't', 1137, 'D', 'O', 'Z', 'y', 'I', 'I', 3339, 'S', 'c', 'M', 'x', 'c'], [1895, 9423, 8299, 'P', '6033', 'h', '7523', 'K', 'i', '2649', 'O', '6477', '763', '7455', 'v', '3213', '1033', 'c', 'C', '2351', '6491', '2049', '3879', '649', 'a', 'e', '5617', 'W', '7899', 'm', 'A']