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

Ex Input:
['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]

Ex Output:
7171, I, m, 3035


Ex Input:
['x', 'H', 'i', 1013, 5655, 'y', 4853, 'Q', 1209, 'w', 'w', 'a', 'w', 7329, '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'i', 'w', 4131, 867, 'y', 3835, 'o', 't', 1181, 4425, 'P'], ['J', 4263, 'Z', 9575, 'W', 'h', 'j', 9697, 4711, 'D', 9269, 1163, 7659, 8523, 'f', 'W', 'L', 'h', 'i', '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'n', 'i', 71]

Ex Output:
961, j, 1783, 7579, e, 6525, Y, K, P, 293, 4793, 7251, 531, 3813, 4103, o, 6039, 9175, 3041, p, D, u, 7075, G


Ex Input:
['C', 'h', 'o', 'a', 'Q', 6853, 'W', 'w', 'B', 1179, 3993, 8605, 5537, 1003, 837, '2515', 'Y', '8327', 'n', '4229', 'F', 'x', '227', '2175', '609', 'h', 'i', '3117', 'O', '25', 'I', '6439', '8905', 'x', 'd', '4655', 'S', 'b', 'I', '879', '4247', 'Q', '8333', 'Z', 'x', 1389, 'p', 4371, 4855, 807, 'G', 'u', 'G', 'G', 'Z', 's', 'P', 's', 4587, 'R'], [2429, 8021, 3945, 'E', 671, 4701, 8985, 8205, 'B', 1381, 1699, 7897, 2401, 'a', 8623, 'N', 6805, 6065, 'N', 4109, '2515', 'Y', '8327', 'n', '4229', 'F', 'x', '227', '2175', '609', 'h', 'i', '3117', 'O', '25', 'I', '6439', '8905', 'x', 'd', '4655', 'S', 'b', 'I', '879', '4247', 'Q', '8333', 'Z', 'N', 4549, 'd', 'c', 8413, 4297, 'n', 'e', 'I', 'C', 'j', 'j', 'S', 9053, 6503]

Ex Output:

2515, Y, 8327, n, 4229, F, x, 227, 2175, 609, h, i, 3117, O, 25, I, 6439, 8905, x, d, 4655, S, b, I, 879, 4247, Q, 8333, Z