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

Input: Consider Input: ['U', 3417, 5169, 'r', 's', 2909, 3363, 'x', 8463, 9703, 3041, 'e', 4997, 1689, 'Y', 'y', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'G', 2185, 'I', 'D', 'U', 2889, 6837, 'B', 'x', 2775, 'I', 3053, 1801], [525, 'd', 'K', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'z', 9959, 'H', 1865, 'M', 8529]

Output: T, 53, 8895, 1117, 4025, v, 1689, e, V, k, 2673, 5425, c, p, 8235, Q


Input: Consider Input: [4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']

Output: 4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031


Input: Consider Input: ['j', 'p', 'C', 1097, 6115, 5895, 'A', '6729', 'q', '9317', 'm', 'g', '2355', 's', '9535', 'q', '1735', 'i', '8257', '6339', '8673', 'P', 'N', 'M', 'V', 't', 7445, 'a', 'Y', 'n', 'L'], ['z', 9395, 7377, 'I', 'A', 6635, 8291, 2963, 'L', '6729', 'q', '9317', 'm', 'g', '2355', 's', '9535', 'q', '1735', 'i', '8257', '6339', '8673', 'P', 'F', 1891, 5435, 'n', 'B', 3359, 4529, 'c', 's', 6745, 8569, 4681, 'T', 'C', 6545]


Output: 6729, q, 9317, m, g, 2355, s, 9535, q, 1735, i, 8257, 6339, 8673, P


