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

Input: Consider Input: ['M', 'm', 8571, 'J', 7297, 3761, 35, 8987, 1723, 1719, 1591, 'Z', 3877, '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'X', 2021, 'N', 3259, 'X', 'h', 'v', 7289, 9767, 2785, 7275], ['h', 'w', 'c', 'p', 'y', 'y', 'h', 'X', '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'P', 'k', 'I', 7703]

Output: 6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365


Input: Consider Input: ['E', 'e', 'C', 'k', 5673, 2461, 'd', 'g', '1699', '8221', 'a', 'L', 'h', 'u', 'c', '2485', 'D', '5387', 'O', 'H', 'R', '6189', '539', 'T', 'J', '5461', '3691', 'd', '3389', '8315', 'Z', 'b', '5401', 'g', 7959, 9915, 9195, 8581], ['I', 'r', 'P', 'v', 'd', 'g', '1699', '8221', 'a', 'L', 'h', 'u', 'c', '2485', 'D', '5387', 'O', 'H', 'R', '6189', '539', 'T', 'J', '5461', '3691', 'd', '3389', '8315', 'Z', 'b', '5401', 'S', 't', 2069, 1067, 9577, 6283, 1527, 'l', 'X', 'L', 5625, 9857, 8631, 'S', 'e']

Output: d, g, 1699, 8221, a, L, h, u, c, 2485, D, 5387, O, H, R, 6189, 539, T, J, 5461, 3691, d, 3389, 8315, Z, b, 5401


Input: Consider Input: ['Y', 'N', 5351, 'F', '3389', 's', 'G', '1735', '2935', '9407', 'y', 'u', '4973', '3543', '1789', 'F', 753, 7137], ['p', 7825, 'N', 'D', 4375, 'F', '3389', 's', 'G', '1735', '2935', '9407', 'y', 'u', '4973', '3543', '1789', 'B', 5769, 'p', 'I', 2783, 'B', 9865, 'G', 'M', 1215]


Output: F, 3389, s, G, 1735, 2935, 9407, y, u, 4973, 3543, 1789