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

Input: Consider Input: ['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]

Output: 1953, 7925, 8115, 5243, Y, 3939, 1231


Input: Consider Input: [8471, 8309, 'g', 'f', 5019, 'd', 8129, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'L', 5985, 2953, 6897, 'n', 9209, 3281, 'w', 4011, 't'], ['g', 7529, 'q', 6213, 'c', 'l', 6053, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'B', 2159, 7633, 8707]

Output: r, e, l, B, 7297, c, 2785, 919, B, 5459


Input: Consider Input: ['Y', 6811, '2379', 'i', 'Y', 'G', '3529', '9449', 'u', 'Z', 'S', '6949', 'r', '5467', '893', 'w', 415, 'N', 6365, 3353, 'C', 'P', 1945, 'P', 'H', 'R', 7761, 9231], [6253, 'Q', 'U', 9895, 'P', 'L', 'g', 8165, 5653, 'w', '2379', 'i', 'Y', 'G', '3529', '9449', 'u', 'Z', 'S', '6949', 'r', '5467', '893', 'P', 'd', 4917, 'v', 's', 'L', 1205, 'd', 4213]


Output: 2379, i, Y, G, 3529, 9449, u, Z, S, 6949, r, 5467, 893