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

Input: Consider Input: [6839, 'h', 6347, 'c', 'u', 793, 601, 't', 'w', 3237, 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'b', 'v', 9597, 'X', 2647, 'C', 155, 'B', 5459, 3691, 9935, 9189], ['k', 6433, 5973, 9407, 9023, 2147, 2247, 'k', 6665, 9491, 'K', 2537, 'r', 2469, 'd', 2941, 'H', 8667, 855, 'V', 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'w', 'B', 6551, 'i', 'v', 773, 'M', 'I', 'R']

Output: U, 5583, z, X, L, 4399, Q, H, h, Q, D, 8725, u, a, 8719, f, E, 8309, 2711, E, 9927, 3625, G, E, 7087, T, 2201, m, s, 3821


Input: Consider Input: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']

Output: 6533, o, 47, 6333


Input: Consider Input: [3819, 2273, 'l', 9611, 'r', 'B', '2849', 'O', '2033', 'Q', '7003', 'l', 'J', 8911, 'v'], ['U', 'T', 'z', '2849', 'O', '2033', 'Q', '7003', 'l', 'U', 'q', 495, 1637, 'U']


Output: 2849, O, 2033, Q, 7003, l