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

Input: Consider Input: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]

Output: I, 2495, 1015, L, 581


Input: Consider Input: [9673, 'V', 'q', 8183, 4703, '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'Q', 1263, 'd', 'S'], [3777, 'a', 't', 'b', 'P', 'L', 3443, 6611, 1651, 'G', '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'E', 'y', 'U']

Output: 9707, Y, 7685, o, b, a, g, R, 551, W


Input: Consider Input: ['o', 6865, 'd', 5575, 'u', '779', '4415', 'I', '8779', 'e', 'u', '6205', 'n', '3395', '1041', 'e', 'J', '8187', 'S', '8957', 'a', 'Z', 'c', 'V', 'C', 'a', '4081', '7539', 'O', 'R', 'V', 'l', 639, 'm', 'p', 8589, 3661, 'f', 'X', 'q', 9215, 8995, 7141, 8747], ['X', 7625, 'C', 'L', '779', '4415', 'I', '8779', 'e', 'u', '6205', 'n', '3395', '1041', 'e', 'J', '8187', 'S', '8957', 'a', 'Z', 'c', 'V', 'C', 'a', '4081', '7539', 'z', 'n', 7751, 'f', 891, 'w', 'l', 8165, 'I', 'P', 'V', 5099]


Output: 779, 4415, I, 8779, e, u, 6205, n, 3395, 1041, e, J, 8187, S, 8957, a, Z, c, V, C, a, 4081, 7539