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

Ex Input:
[9639, 'C', 9853, 'A', 'k', 633, 1303, 6893, 1461, 'O', 'i', 'E', 'L', 8811, 1123, 1523, 285, 'G', 6701, 'v', 'E', 2799, 9503, '6601', 'Z', 'H', '2771', '1129', 'G', '3897', '3577', '1459', '6281', '7955', '3751', '5339', 'R', '4343', '9107', 'Q', 'H', 'r', 'I', 'n', '5191', 'E', '3385', '9711', 'g', 'W', 'O', 9249, 3181, 3455], ['x', 'l', 7827, 8297, 'D', 5453, 6611, '6601', 'Z', 'H', '2771', '1129', 'G', '3897', '3577', '1459', '6281', '7955', '3751', '5339', 'R', '4343', '9107', 'Q', 'H', 'r', 'I', 'n', '5191', 'E', '3385', '9711', 'g', 'W', 'y', 4363, 8699, 'H', 'h', 4081, 'F', 'S', 8027, 'p', 'j']

Ex Output:
6601, Z, H, 2771, 1129, G, 3897, 3577, 1459, 6281, 7955, 3751, 5339, R, 4343, 9107, Q, H, r, I, n, 5191, E, 3385, 9711, g, W


Ex Input:
['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]

Ex Output:
q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P


Ex Input:
['R', 'l', 's', 4591, '6331', '1953', '4223', 'u', '5605', 'a', '9189', '2327', '10031', '7055', 'V', 'B', 'm', 'B', '1039', 'n', 'i', 'v', '6365', 'B', 'y', 'T', '6945', '9099', 'S', 'E', 't', 'k', 7497, 2285, 'S', 'B', 5253, 3393, 'h', 'd', 557, 365, 'k', 'y', 'L'], ['F', 's', 'a', '6331', '1953', '4223', 'u', '5605', 'a', '9189', '2327', '10031', '7055', 'V', 'B', 'm', 'B', '1039', 'n', 'i', 'v', '6365', 'B', 'y', 'T', '6945', '9099', 'c', 9367, 'h', 9265, 'B', 'z', 'w', 365, 'Y', 5299]

Ex Output:

6331, 1953, 4223, u, 5605, a, 9189, 2327, 10031, 7055, V, B, m, B, 1039, n, i, v, 6365, B, y, T, 6945, 9099