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

Input: Consider Input: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]

Output: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R


Input: Consider Input: ['o', 'f', '955', 'y', 'O', 2181], ['M', 'l', '955', 'y', 'h', 5209]

Output: 955, y


Input: Consider Input: [7067, 6245, 9241, 'v', 'T', 8623, 9373, 3393, 'P', 8485, 'a', 421, 2097, 'e', 6005, 'R', 'A', 'h', 'D', 'v', 'k', 'F', 79, 4235, 9117, 'r', '9889', 'C', '4167', 'n', '6527', 'R', '8119', 'E', '9503', 'J', '2659', '1595', 'P', '6327', 'j', '6865', '963', '7195', 'o', '4807', '7381', '791', 'Y', '3705', 'l', '7295', '5595', '9265', 'q', 'l', 'Q', 4251, 6655, 'O', 'X', 'w', 'Q', 'c', 'Z', 4523, 1451, 'l', 'l', 'K', 'q', 'g', 3025, 3669, 345], [6405, 'L', 'm', 'f', 3449, 7549, 'f', 'a', 'P', 7897, 6459, 'T', 'r', 3965, 5267, 2987, 't', '9889', 'C', '4167', 'n', '6527', 'R', '8119', 'E', '9503', 'J', '2659', '1595', 'P', '6327', 'j', '6865', '963', '7195', 'o', '4807', '7381', '791', 'Y', '3705', 'l', '7295', '5595', '9265', 'q', 'l', 'g', 'n', 8911, 'u', 6887, 1093, 'c', 'Y', 'b', 5537, 7053, 's', 9961, 'K', 'z', 'D', 3683, 1773, 1527, 1771, 439, 'w', 's', 1303, 9397]


Output: 9889, C, 4167, n, 6527, R, 8119, E, 9503, J, 2659, 1595, P, 6327, j, 6865, 963, 7195, o, 4807, 7381, 791, Y, 3705, l, 7295, 5595, 9265, q, l