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

Example Input: ['t', 'W', 'i', 't', 4163, 'd', 'k', 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'T', 6267, 5627, 'u', 'g', 'F', 3861], ['f', 'g', 'N', 'I', 'C', 4633, 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'A', 'K', 1819, 3343, 8603, 'h', 1751, 'h']
Example Output: Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879

Example Input: [3409, 'W', 7371, 705, 4353, 6055, 1109, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'd', 'r', 5975, 7455, 'P', 7563, 'A', 797, 'm', 'y', 'S'], [851, 'D', 'Z', 't', 'd', 189, 'V', 'o', 8559, 3455, '2039', '1331', 'M', '1507', '1583', '9005', '3561', 'm', '3453', '9927', 'L', '5625', '3923', '5839', 'b', 'a', '1865', 'l', 'Z', '4855', '2985', 'l', '7011', 'Z', 'f', '6205', 'x', 'q', 7907, 857, 2245, 5847, 'h']
Example Output: 2039, 1331, M, 1507, 1583, 9005, 3561, m, 3453, 9927, L, 5625, 3923, 5839, b, a, 1865, l, Z, 4855, 2985, l, 7011, Z, f, 6205

Example Input: [8549, 2343, 1721, 277, 3819, 'i', 6581, '9029', 'c', 'I', '3553', 'h', '1073', '5809', 'c', 'z', 8059], [6245, 's', 'r', 7595, 'o', 'H', '9029', 'c', 'I', '3553', 'h', '1073', '5809', 'c', 'l', 'D', 's', 5083]
Example Output:
9029, c, I, 3553, h, 1073, 5809, c