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

Example Input: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']
Example Output: 3743, 7709, 4991, 1023, z

Example Input: ['u', 4637, 'h', 2259, 'M', 'i', 'h', 'X', 7083, 'o', 't', 9421, 't', 785, 'Y', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'C', 8237, 9899, 'M', 3217, 4903, 'I', 5279, 'T', 6849, 3373, 'x', 'S', 'l', 8665, 'V', 'v', 'I', 'A', 'E', 4367, 9513, 'i', 2897, 3433, 8091, 5011], [5327, 4587, 'E', 'w', 4287, 'W', 3339, 2729, 'q', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'p', 7351, 4915, 4485, 7747]
Example Output: Y, 5531, P, x, b, 4899, Y, 8909, 7749, k, 4049, 1237, M, 8579, N, 3167, 9123, 6973, 4981, I, 7231, 9783, 9823, c, e, 7169, 4003

Example Input: ['A', 8953, 4793, 'p', 'T', 'R', 'v', 'i', '3909', 'T', 'V', 901, 'H', 607], ['l', 'h', 'p', 'T', 'R', 'v', 'i', '3909', 'T', 'Z', 'N', 'v', 'a', 9093, 'K', 'R']
Example Output:
p, T, R, v, i, 3909, T