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

Ex Input:
['X', 'j', 'Y', 4541, 7639, 'm', 'K', 305, 6733, 5077, 'S', 'S', '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'j', 'P', 'x', 'r', 'K', 'C', 'R', 'k', 985, 1029, 't', 'c', 3835], [8563, 'b', 'D', 8893, 3193, 1043, 5807, 7563, '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'z', 'S', 6681, 8187, 7139, 5221, 9683, 7271, 'c', 419, 'i']

Ex Output:
6005, v, 5903, 4231, z, p, 7235, w, 3597, 979, 3071, 3945, 8645, 8455, 9083, 8905, 999, 111, N, H, 2777, e, 9415, j, Q, 2679, w, g, 9581, 6053


Ex 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']

Ex Output:
Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879


Ex Input:
['o', 7397, 8479, 2189, 6257, 7793, 1679, 4033, 'E', 'C', 3709, 8105, 'x', 'B', 'V', '8269', 'Z', 'o', '9235', 'T', 'A', 'U', 'h', 'E', '1929', '1537', 'f', 'y', '8125', '6123', 'L', 'j', 'v', 1003, 4341, 1019, 6809, 213, 1475, 'K', 3829, 7937, 7497, 'E'], ['Q', 'z', 2597, 7685, 6507, 't', 8455, '8269', 'Z', 'o', '9235', 'T', 'A', 'U', 'h', 'E', '1929', '1537', 'f', 'y', '8125', '6123', 'L', 'n', 'w', 'o', 'g', 6167, 'u', 'v']

Ex Output:

8269, Z, o, 9235, T, A, U, h, E, 1929, 1537, f, y, 8125, 6123, L