Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [9167, 'x', 'u', 37, 'f', 'p', 5397, 'L', 3621, 3501, 'M', 4907, '2605', 'P', '6283', 'a', '805', 'D', '9499', '7727', 'm', 'O', '3191', '7067', '9453', 'a', 'o', 'd', '1657', 'Y', '6837', 'a', 'y', '5911', 'B', '7369', 'x', 'J', 'H', 'S', 'E', '1829', 'M', 'R', 'E', 'a', 2223, 4361, 2215, 7347, 1581, 'A', 'A', 'o', 'l', 'f', 'H', 'M', 'P', 'b', 8019, 'G', 'h', 3967, 'k', 3149, 1757], ['r', 7679, 'm', 'y', 'E', 9343, 6069, 8009, 'H', 6897, 6289, 'o', 8095, 'o', 973, 7287, 'l', 'U', 'O', 'e', 'R', '2605', 'P', '6283', 'a', '805', 'D', '9499', '7727', 'm', 'O', '3191', '7067', '9453', 'a', 'o', 'd', '1657', 'Y', '6837', 'a', 'y', '5911', 'B', '7369', 'x', 'J', 'H', 'S', 'E', '1829', 'h', 9201, 4929, 'F']
A:
2605, P, 6283, a, 805, D, 9499, 7727, m, O, 3191, 7067, 9453, a, o, d, 1657, Y, 6837, a, y, 5911, B, 7369, x, J, H, S, E, 1829