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

Input: Consider Input: ['w', 9889, 'I', '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'Q', 4079, 8567, 5331, 6035, 't', 6147, 5597, 6117, 'w', 'g', 'R', 'G', 7597, 581, 8473], ['T', 'B', 1003, 'E', 5935, 'a', 7777, 'N', 't', 'w', 9123, 965, 'F', 9067, 'g', 6129, 6545, 977, 'r', 'H', 6793, '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'V', 2257, 323, 'T', 'c', 'w', 3529, 9379, 'J', 779, 'W', 'd']

Output: 8971, 7631, 9073, Y, O, R, q, 8353, 6125, 8191, x, 3121, Z, 7817, x, K, 9307, A, 19, 2297, C, Y, t, D


Input: Consider Input: ['F', 175, 'f', 8443, 3869, 'X', 8987, 's', 'x', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'E', 'T', 9337, 'B', 3133, 10013], [2067, 3211, 'U', 'S', 8949, 'N', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'Q', 1511, 'X', 1105, 3303, 'u', 8705, 'j']

Output: r, 6805, 843, t, g, T, 8865, K, 9607, G, 4521, z


Input: Consider Input: ['X', 4915, 'z', 'w', 'f', '9353', '1767', 'F', '9299', '3749', 'o', 't', '3591', 't', 'T', 'y', '4099', '3323', 'R', '8467', 'e', '5741', 'q', 'R', 6323, 'D', 2837, 'X'], [9041, 'I', 3989, 4221, 'H', 8399, 7325, 'c', 2373, 'h', 3211, 5647, 4455, 'G', 1755, 'f', '9353', '1767', 'F', '9299', '3749', 'o', 't', '3591', 't', 'T', 'y', '4099', '3323', 'R', '8467', 'e', '5741', 'K', 'I', 1299, 'R', 'X', 7947, 6043, 1653, 5693, 2639, 6305, 8571, 9427, 8629, 'N']


Output: f, 9353, 1767, F, 9299, 3749, o, t, 3591, t, T, y, 4099, 3323, R, 8467, e, 5741