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

Input: Consider Input: [9945, 'B', 'P', 1687, 1255, 'E', 769, 2539, 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'G', 'w', 'E', 'G'], [1097, 3119, 'V', 'i', 'v', 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'O', 7411, 'y', 'H', 7657, 2977, 'T', 'R', 265, 6097, 'g', 'a', 'R', 3391, 'd', 6175, 'm', 143, 4285, 5701, 2557, 'f']

Output: W, 9795, y, 1335, H, 999, 5451, V, 1087, e, H, 7027, 7313, v, 1101, j, Q, 2191, 8039, 1239, I, S, M, P, 4387, 4795, X, l


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: [9779, 893, 'W', 'y', '6021', 'i', 'v', '3063', '9863', '1039', '3097', 'h', 'H', '7345', 'J', '377', 'v', 'X', 'z', 'T', 'x', '4797', 'f', 'm', '5597', '95', 'Z', 3199, 4123, 'z', 3849, 1227, 'd', 4199, 6941, 'c', 't', 'Q', 'o', 'n', 'z', 'p', 6179], [8361, 2297, 9465, 'y', 2631, 2129, 'V', 3491, 1295, 7935, 'O', 'b', 9303, 'P', 'w', '6021', 'i', 'v', '3063', '9863', '1039', '3097', 'h', 'H', '7345', 'J', '377', 'v', 'X', 'z', 'T', 'x', '4797', 'f', 'm', '5597', '95', 'V', 4353, 'b', 4231, 1475]


Output: 6021, i, v, 3063, 9863, 1039, 3097, h, H, 7345, J, 377, v, X, z, T, x, 4797, f, m, 5597, 95