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

Input: Consider Input: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

Output: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D


Input: Consider Input: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]

Output: 1331, 7235, 8333, a, 4137, b, 9779


Input: Consider Input: [8989, 'N', 6967, 6453, 857, 'q', 'l', 5951, 8325, '369', 't', 'Z', 'Y', '9253', 'S', '6831', '423', 'e', '9103', 'P', 'y', 3893, 'l', 415, 3031, 'R', 2943], [1927, 1635, 'b', 'l', 'l', 6841, 'I', 2385, 'o', 7129, 'u', '369', 't', 'Z', 'Y', '9253', 'S', '6831', '423', 'e', '9103', 'P', 'e', 5251, 'M', 'm', 5497, 4137, 3565, 'B', 7315]


Output: 369, t, Z, Y, 9253, S, 6831, 423, e, 9103, P