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: ['K', 1657, '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'X', 'n', 3631, 'o', 'm'], ['P', 6249, 7565, 's', 1041, 'V', 'D', '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'n', 'U', 'z', 2559, 5379, 6985, 6059]

Output: 5001, 8571, 2343, 9471, P, 6369, 9299


Input: Consider Input: [1021, 's', 8799, 3405, 'w', 'v', 'N', 'G', 't', '9831', 'f', 'x', 'z', 'x', 'g', '9065', '1989', 'p', '6977', 'c', 'q', 'W', '4625', '8009', 'i', 'w', '3265', '7327', 'n', '5367', 'o', '5343', 'b', 'v', 'f', 9257, 8185], ['J', 9991, 'u', 'I', 3149, 't', 7667, 'w', 'j', 2643, 9839, 3983, 'S', 'm', 4837, 'z', 'W', 'F', 't', '9831', 'f', 'x', 'z', 'x', 'g', '9065', '1989', 'p', '6977', 'c', 'q', 'W', '4625', '8009', 'i', 'w', '3265', '7327', 'n', '5367', 'o', '5343', 'b', 'v', 'C', 7063, 'v', 'h', 2173, 5997, 'y', 'L', 63, 3665, 5329, 7125, 4197, 8523]


Output: t, 9831, f, x, z, x, g, 9065, 1989, p, 6977, c, q, W, 4625, 8009, i, w, 3265, 7327, n, 5367, o, 5343, b, v