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

Input: Consider Input: ['p', 'j', 'p', 3253, 'L', 'X', 1755, 4489, 'n', 'V', 7833, 9835, 9139, 't', 3153, 5695, 7775, '6669', 'e', 'm', '5223', '8817', 's', '9893', '9405', 'b', 'c', 'Q', 'd', '7239', 'H', '55', 'f', 'P', 'l', 'O', '65', '2513', '2417', '8039', '7095', 'm', 'n', '3597', 'O', '6129', 'Y', 6177, 'q', 155, 'O', 3591, 'z', 'M', 'Q', 'v', 'e', 4571, 8539], ['K', 'D', 3165, '6669', 'e', 'm', '5223', '8817', 's', '9893', '9405', 'b', 'c', 'Q', 'd', '7239', 'H', '55', 'f', 'P', 'l', 'O', '65', '2513', '2417', '8039', '7095', 'm', 'n', '3597', 'O', '6129', 'N', 'W', 'g', 2189, 'q', 'm', 'x', 3317, 'S', 'K', 'u', 3559, 3153, 'u', 3061]

Output: 6669, e, m, 5223, 8817, s, 9893, 9405, b, c, Q, d, 7239, H, 55, f, P, l, O, 65, 2513, 2417, 8039, 7095, m, n, 3597, O, 6129


Input: Consider Input: [387, 577, 'j', 7891, 'N', 'W', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'U', 'y', 'O', 1627, 5805, 8111], ['P', 'u', 'g', 'M', 6277, 'p', 'U', 'G', 211, 'o', 'd', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'B', 'j', 8827, 'A']

Output: V, n, A, 9835, 7109, 1637, 6825, J, 4143, a, 253, 2905, R, 1387, W, 4577


Input: Consider Input: [7415, 879, '6923', '7375', 'r', 'J', 'o', 3729, 1719], [567, 5269, '6923', '7375', 'r', 'J', 'i', 9323, 9885]


Output: 6923, 7375, r, J