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

Ex Input:
['s', 'J', 2223, 'y', 'v', '9315', '8837', 'z', '8583', 'o', 'c', 'V'], ['E', 5699, 1225, 'f', '9315', '8837', 'z', '8583', 'o', 'u', 'j']

Ex Output:
9315, 8837, z, 8583, o

Ex Input:
[1699, 5363, 'U', 3351, 'K', 1771, 8981, 'y', 4317, 'P', 'H', 'f', 'j', '7169', '129', 'Z', 'K', 'r', 'o', 'v', '1713', 'g', 'A', 'h', 'e', '421', 'a', 'b'], [1477, 'o', 'h', 4413, 'Y', 'V', 4539, 't', 'S', 3527, 9183, 9541, '7169', '129', 'Z', 'K', 'r', 'o', 'v', '1713', 'g', 'A', 'h', 'e', '421', 'j', 'V', 8579, 3395, 'l', 'X', 'l', 'm', 4239]

Ex Output:
7169, 129, Z, K, r, o, v, 1713, g, A, h, e, 421

Ex Input:
['i', 8945, 'T', 3355, 'e', 'C', 'k', 'X', 'Q', 2463, 7829, 'Z', '6787', 'J', 'G', 'i', 'Y', 'M', '2723', '3269', '4809', 'l', '8837', 'S', 'g', 'k', 'v', 'h', 'B', 'E', 2961, 2111, 'v', 3871, 355], ['T', 'H', 'o', 7691, 'd', 'B', 7369, 'u', '6787', 'J', 'G', 'i', 'Y', 'M', '2723', '3269', '4809', 'l', '8837', 'S', 'g', 'k', 'E', 'L', 5051, 'b', 'i']

Ex Output:
6787, J, G, i, Y, M, 2723, 3269, 4809, l, 8837, S, g, k