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

Ex Input:
['i', 2153, 8879, 'Q', 9403, 6667, 'E', 1829, 'b', 'j', 1907, 9167, 3331, 'T', 't', 6039, 'i', 'z', 4097, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'H', 'B', 'Y', 'q', 2151, 129, 'd', 'I', 'N', 5573, 'S', 'x', 5201, 'J', 2507, 'Y', 4951, 'b', 8655, 7611, 5419, 3559], ['K', 6565, 'L', 'E', 4757, 'x', 'W', 't', 'X', 's', 2289, 2227, 'm', 's', 661, 8723, 'P', 'U', 'S', 7791, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'K', 4161, 'e', 'z', 't', 8701, 5515, 8391, 'C', 9017, 3623, 3777, 'z', 'O', 'w', 7551, 4971, 'U']

Ex Output:
1959, U, q, 8789, z, 6135, K, 147, 6933, 3647, 9265, 10015, 4259, 7919, 2077, 3797, 631, 7453, e, 7297, 4417, 2479

Ex Input:
['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]

Ex Output:
5747, i, M

Ex Input:
['J', 143, 'b', 7061, 3407, 'R', 2759, 'W', 'Z', 'A', 5937, 9901, 'o', 'a', 5775, 6583, 3107, 481, 63, 8603, 9617, 6561, 'x', 63, 'M', 5745, 6355, 'h', '5631', '8563', '6107', 'p', 'f', 'r', 'D', '1507', 'O', 'f', 'R', '3721', '1387', 'l', '6195', '1213', 'a', 'A', '8837', 'F', '959', '627', 'K', '323', 'r', '6231', 'P', '8805', 'f', 9639, 7737, 3041, 'r', 3937, 'l', 'K', 2155, 3735, 'C', 'g', 'h', 'c', 2187, 'o', 'o'], ['W', 'b', 7981, 't', 4473, 6383, 'n', 5499, 1381, 'M', 'j', 4805, 'M', 'h', '5631', '8563', '6107', 'p', 'f', 'r', 'D', '1507', 'O', 'f', 'R', '3721', '1387', 'l', '6195', '1213', 'a', 'A', '8837', 'F', '959', '627', 'K', '323', 'r', '6231', 'P', '8805', 'a', 79, 'G', 9743, 'n', 'q', 'O', 'w', 4805, 'u', 1243, 'R', 3849, 547, 'Q']

Ex Output:
h, 5631, 8563, 6107, p, f, r, D, 1507, O, f, R, 3721, 1387, l, 6195, 1213, a, A, 8837, F, 959, 627, K, 323, r, 6231, P, 8805