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

Input: Consider Input: ['t', 845, 'T', '5285', '7837', 'N', 6717], [7211, 7903, 'U', 'T', '5285', '7837', 'D', 'U', 'R']

Output: T, 5285, 7837


Input: Consider Input: [4143, 9623, 'k', 'Z', 1355, 4371, 5553, 'U', 8081, 843, 7307, 8537, 841, 6443, 9873, 'b', 4969, 1189, 9481, 9225, 6739, 4269, 3997, 9511, '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'N', 4305, 'M', 2381, 'W', 7817, 'x', 7221, 4341, 'k', 4235, 'z', 9923, 'w', 'c', 7701, 'k', 6841, 9359], [831, 8989, 'O', 9915, 829, 'y', 2567, 8737, 'P', 1805, 'u', 'b', 3579, 6313, 455, 'E', 1193, 2669, 6121, 7167, 'P', '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'G', 1015, 'c', 6677, 8939, 2951, 'L', 'd', 5797, 2413, 7741, 3025, 5391]

Output: 5641, 8319, 5809, F, 7875, 8699, p, 1431, K, R, 53, 4049, b, b, 5823, E, 1073, 8199, 6801, 8501, 1971, 6131, 4225, 847


Input: Consider Input: [2517, 2247, 'd', 'E', 'c', 1921, 'V', 'F', 'k', 61, 761, 'z', 6185, 'S', 5613, 9093, 'D', 'o', 'q', 'y', 2963, 4111, 'T', 5211, '5727', '6737', 'c', 'd', 'J', 'c', 's', 't', '3747', 'Z', '6217', '1643', 'J', '8989', 'X', 'D', '7817', 'q', '2445', 'z', 'A', '6879', '2049', '5361', '677', '3689', 'F', 5383, 3345, 'K', 8301, 3871, 5285, 'B', 7349, 'Y', 'e', 7411, 'P', 6479, 2769, 'B'], [4301, 7967, 7841, 'd', 1609, 1483, 'z', 9929, 'r', 3771, '5727', '6737', 'c', 'd', 'J', 'c', 's', 't', '3747', 'Z', '6217', '1643', 'J', '8989', 'X', 'D', '7817', 'q', '2445', 'z', 'A', '6879', '2049', '5361', '677', '3689', 'u', 'y']


Output: 5727, 6737, c, d, J, c, s, t, 3747, Z, 6217, 1643, J, 8989, X, D, 7817, q, 2445, z, A, 6879, 2049, 5361, 677, 3689