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

Input: Consider Input: [2687, 7971, 2141, 'X', 'z', 1281, 'K', 6109, 7773, 'P', 5247, 'j', 'K', 5225, 'c', 4401, 'Z', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'B', 'k', 4913, 5483, 1465, 'F', 9669, 'i', 'L', 'q', 'n'], ['k', 'g', 'e', 'I', 'v', 97, 'N', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'H', 7153, 7967, 'u', 7859, 1387, 7361]

Output: j, Y, 4799, h, 5519, n, 3231, l, 3003, F, 5599, J, q, r, 889, e, 9805, X


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: ['C', 'f', 'A', 1889, 2291, 7175, 'Q', 'f', 'e', 'H', 1651, 1069, 'w', 'p', 'R', 7855, 4749, 7077, 'y', 'g', 'q', 2231, 'Z', 683, 9819, 7539, 2313, 3811, '5079', 'g', '7631', 's', '6033', 'W', 'Z', '2603', 'E', 'O', 'B', '5389', 'R', 'm', 'a', '3593', '5445', 'M', '1269', 'V', '2057', 'Y', 'E', 'M', '2187', 'i', 'w', 'L', 'w', 'N', 'a', 'd', 'V', 2971, 1715, 1255, 'o', 'b', 'F', 4135, 671, 5111, 4027, 6809, 'S', 6713], ['a', 'k', 8529, 'x', 'e', 'h', 'f', 3233, 'D', '5079', 'g', '7631', 's', '6033', 'W', 'Z', '2603', 'E', 'O', 'B', '5389', 'R', 'm', 'a', '3593', '5445', 'M', '1269', 'V', '2057', 'Y', 'E', 'M', '2187', 'i', 'w', 'L', 'w', 'J', 'L', 2011, 1405, 3473, 'G', 1027, 3861, 6311, 'j', 'A', 'q', 'A', 'p', 'A', 1449, 9899, 9063, 'p', 's', 'l', 1009, 'i', 3127, 'H', 'x', 2143]


Output: 5079, g, 7631, s, 6033, W, Z, 2603, E, O, B, 5389, R, m, a, 3593, 5445, M, 1269, V, 2057, Y, E, M, 2187, i, w, L, w