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

Example Input: [1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']
Example Output: 155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S

Example Input: ['o', 833, 'H', 'I', 'x', 'u', 'a', 'L', 'H', 'g', '4519', 'J', 'E'], [9993, 'z', 'g', 'u', 'a', 'L', 'H', 'g', '4519', 'V', 9115]
Example Output: u, a, L, H, g, 4519

Example Input: ['V', 'H', 511, '9845', '7005', 'H', 's', '4223', 'r', 'Z', '6677', 'r', 'l', '9421', 'a', 'I', '6915', '5417', '9707', 'Y', '2053', '7389', '4725', 'D', '4879', '1385', 'N', 'x', 'j', 3475, 'C', 'B', 3257, 7819, 'm', 7993, 9763, 'C', 4847, 'z', 3539, 'I', 'o', 3693, 'x', 9243, 'c', 'g'], ['u', 'L', 659, 'S', 'c', 2789, 7381, 1307, 10013, 4571, 1059, 7209, 7389, '9845', '7005', 'H', 's', '4223', 'r', 'Z', '6677', 'r', 'l', '9421', 'a', 'I', '6915', '5417', '9707', 'Y', '2053', '7389', '4725', 'D', '4879', '1385', 'n', 'C', 'K', 6129, 7847, 'A', 'D', 935, 's', 901, 'k', 'F', 3967, 2407, 1285, 799, 9999, 'J', 5013]
Example Output:
9845, 7005, H, s, 4223, r, Z, 6677, r, l, 9421, a, I, 6915, 5417, 9707, Y, 2053, 7389, 4725, D, 4879, 1385