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

Input: Consider Input: [6453, 7881, 'D', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'Y', 2235, 823, 'q', 'S', 'R', 'K', 2809, 'o', 7605, 'L', 'V', 'D', 'R'], [1195, 'n', 5253, 7139, 4463, 10023, 'O', 'Y', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'L', 4321, 3545, 'G', 'G', 'h']

Output: X, 9799, Z, 1711, P, L, E, 5039, 1161, n, 6077, 685, F, C


Input: Consider Input: [6103, 'W', 'k', 931, 'r', 'v', 'w', 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'b', 'w'], [9617, 'F', 3411, 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'O', 9311, 5805]

Output: X, 5537, 3209, 4831, R, 2093, U


Input: Consider Input: [9389, 'e', 6921, 'n', 3009, 2563, 'J', 217, 2559, 8515, 8201, 5315, 'B', 187, 'P', 3613, '2535', '7887', 'c', 'g', 'G', 'k', 'a', '8465', 'g', '4797', 'q', '8935', 'j', 'R', '9541', '377', '9787', 'X', 'G', '2437', 'U', 'f', '453', 'A', 'H', 'a', 'C', '9357', 'j', 'd', 'm', 8663, 5601, 'O', 3599, 4201, 5071, 'X', 3017, 3515, 931, 8025, 8557, 7005, 9025, 4275, 1051, 'Q', 9063, 'l', 4671, 'N', 1449, 5567, 'V', 4439, 'n'], ['F', 'J', '2535', '7887', 'c', 'g', 'G', 'k', 'a', '8465', 'g', '4797', 'q', '8935', 'j', 'R', '9541', '377', '9787', 'X', 'G', '2437', 'U', 'f', '453', 'A', 'H', 'a', 'C', '9357', 'j', 'S', 1537, 6479, 6503, 9783, 'p', 4833, 3115, 'v', 'M', 6563]


Output: 2535, 7887, c, g, G, k, a, 8465, g, 4797, q, 8935, j, R, 9541, 377, 9787, X, G, 2437, U, f, 453, A, H, a, C, 9357, j