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

Input: Consider Input: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]

Output: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331


Input: Consider Input: [787, 577, 1283, 10019, '3229', 'C', 'b', '8319', 'j', 7553, 8091], [4091, 1749, 'L', 'A', '3229', 'C', 'b', '8319', 'U', 9603]

Output: 3229, C, b, 8319


Input: Consider Input: ['i', 7635, 'o', 'j', 7991, 5827, 6007, 6675, 'r', '5111', 'Z', '4287', 'l', '603', '5203', '2811', 'd', '9123', 'n', 'b', '5171', 'X', '3249', '4235', 'E', 'h', 'F', 3845, 'X', 6141, 'D', 6405, 507, 7, 'L', 'f', 'm', 9, 4021, 937], [1321, 'n', 'x', 3489, 2419, 'N', 'q', 3285, 6631, 'U', 8757, 'E', 'u', 6509, '5111', 'Z', '4287', 'l', '603', '5203', '2811', 'd', '9123', 'n', 'b', '5171', 'X', '3249', '4235', 'E', 'i', 'E', 's', 6281]


Output: 5111, Z, 4287, l, 603, 5203, 2811, d, 9123, n, b, 5171, X, 3249, 4235, E


