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

Input: Consider Input: ['Y', 7191, 'w', 'I', 2387, 3493, 'F', 9797, 4797, '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'p', 5525, 3953, 1931, 6723, 7597, 9781, 8621, 'f', 6959, 4341, 5543], [7099, 'h', 'm', 1247, 'F', 2321, 'G', 'c', 'a', 57, 7997, 'Y', '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'd', 'k', 3051, 647]

Output: 1075, i, 2867, 6269, X, 8729, u, X, g, 8731, L, 3791, I, 6677, x


Input: Consider Input: [641, 'S', 'X', 'z', 4889, 5577, 'f', 'K', 4151, 'I', 3883, 511, 'y', 7333, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'q', 7115, 8237, 'G', 'F', 'j', 2437, 7631, 9983, 'Z'], ['j', 7931, 'e', 1833, 'O', 'T', 'L', 2669, 'V', 'e', 'r', 8177, 'A', 'k', 'K', 'l', 5879, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'c', 'i', 'k', 9469, 4459, 'N', 'q']

Output: 125, 933, A, 4571, V, 9597, T, S, 5519, g, z, m, O, t, T, 7241, n, x, 6943


Input: Consider Input: [7969, 7833, 9069, 'l', 'N', 7935, 7821, 'y', 'q', 'r', 'G', 'O', 'w', 'n', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'M', 'c', 'u', 5133, 'x', 117, 5841, 'd', 'z', 'A', 3299, 'O', 'W', 'E', 'Q', 8547, 'w', 5235, 9011], [2305, 'g', 'Y', 'v', 6105, 'm', 6457, 2715, 'b', 7811, 3401, 'H', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'K', 'Z']


Output: h, j, X, 9705, U, 7943, K, r, 4841, 2141, d, 2007, O, 5005, b, 7367, T, C, t, 6865, Y, 1263