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

Input: Consider Input: ['K', 6723, 7053, 'g', 6793, 'h', 'C', 'H', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'T', 'o', 'j', 5777, 3173, 'N', 'Q', 'O', 'm', 4693], ['r', 5349, 503, 'Q', 8435, 'Y', 6633, 'W', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'Q', 'Z', 8433, 'h', 8205, 'm', 6605, 5051, 'w', 'o', 3177, 't', 9005, 'v', 'G']

Output: J, K, 1061, 9585, F, l, 5651, f, P, 9147, 5227, 2861, 6421, V, 1009, 6639, 3701


Input: Consider Input: [2389, 1227, 'v', 2701, 5365, 'C', 'T', 4909, 'f', 5507, 'x', 4791, 9815, 'Y', '7579', 'F', 'M', '1193', 'L', '8619', '7713', '9917', '2751', '9845', '1395', '6667', 'd', 'F', '8595', 'U', '1891', '6595', 's', 'x', 'W', 'p', 'Z', 'j', '4475', 'j', '2077', 'G', 49, 9519, 7577, 9555, 283, 803, 8999, 'Z', 867, 9103, 'm', 'J', 'M', 'G', 7561, 179, 'Q', 9789, 163, 5773, 3305, 'w', 8611, 9897], ['r', 5979, 8571, 1269, 'p', 5027, 'w', 9363, 'j', 2449, '7579', 'F', 'M', '1193', 'L', '8619', '7713', '9917', '2751', '9845', '1395', '6667', 'd', 'F', '8595', 'U', '1891', '6595', 's', 'x', 'W', 'p', 'Z', 'j', '4475', 'j', '2077', 'P', 'e', 'z', 8561, 'g', 8125, 'a', 3265, 2003, 5175, 5873, 'L', 3443, 'K', 'Q', 5099, 8433, 8947, 397, 37, 889, 2105]

Output: 7579, F, M, 1193, L, 8619, 7713, 9917, 2751, 9845, 1395, 6667, d, F, 8595, U, 1891, 6595, s, x, W, p, Z, j, 4475, j, 2077


Input: Consider Input: ['Q', 7693, 8241, 'F', 'q', 'J', '6349', 'O', 'J', 'J', '8493', 'y', '3067', 'I', 's', '3177', 'b', 'A', 'J', 'g', 'u', '5173', '8661', '3067', '5641', 'X', 'K', 'W', 's', 'B', 'p', 7427, 2261, 8885, 3861, 5013, 1151, 1817, 7117, 2013, 3261, 2823, 4331, 'w', 6377, 'x', 'A'], [7745, 'T', 199, 'J', 7653, 1793, 9805, 's', 'R', 5809, 6939, 'U', '6349', 'O', 'J', 'J', '8493', 'y', '3067', 'I', 's', '3177', 'b', 'A', 'J', 'g', 'u', '5173', '8661', '3067', '5641', 'X', 'K', 'W', 's', 'q', 'H', 5301, 'L']


Output: 6349, O, J, J, 8493, y, 3067, I, s, 3177, b, A, J, g, u, 5173, 8661, 3067, 5641, X, K, W, s