In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: ['L', 'q', 'C', 'c', 6507, 'x', 'C', 8247, 2327, 'q', 9785, 'U', 1653, 5189, 1035, 5417, 7385, 3065, 8415, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'k', 'F', 9173, 'a'], [3971, 6169, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'H', 'y', 'G', 'a', 'W', 'v', 6451, 4577, 'f', 8945, 'N', 'd', 4649, 'E', 5397, 8145, 'y', 1997, 7353, 'c', 3473, 'k', 'Z', 8131]
Example Output: 765, D, Z, 2235, f, 6389, e, 4773, m, 6621, 1741, 3119, 9893, d, s, 6143, 3079, 4281, T, 261, H, 7583, L, 8421

Example Input: ['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']
Example Output: O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S

Example Input: ['z', 111, 'l', 'x', 1815, '4019', '4217', '5015', '1269', '9513', 'y', 'S'], ['s', 4615, 'y', '4019', '4217', '5015', '1269', '9513', 'Q', 'd']
Example Output:
4019, 4217, 5015, 1269, 9513