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

Example Input: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']
Example Output: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K

Example 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]
Example Output: q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P

Example 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']
Example Output:
8269, Z, o, 9235, T, A, U, h, E, 1929, 1537, f, y, 8125, 6123, L

