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

Input: Consider Input: [127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]

Output: B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623


Input: Consider Input: ['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']

Output: 6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I


Input: Consider Input: [7223, 6937, 'C', 8527, 'h', 'b', 8555, '9511', 'P', '4995', 'L', '5785', '5985', '5643', '6179', 'x', '8531', '5485', 'f', 'w', 'Y', '5797', 'e', 'm', 'F', 'S', '8085', 't', 6485, 'C', 7129, 8571, 's', 5539, 'r', 'u', 'z', 'M', 'd', 'c', 'k'], ['H', 'L', 9049, 'H', 345, 'J', 'L', 'J', 677, 'W', 'G', 8573, 'i', 'q', 8325, 'V', '9511', 'P', '4995', 'L', '5785', '5985', '5643', '6179', 'x', '8531', '5485', 'f', 'w', 'Y', '5797', 'e', 'm', 'F', 'S', '8085', 'b', 's', 'W', 4963, 'p', 7803, 'o', 'c', 'H', 9849]


Output: 9511, P, 4995, L, 5785, 5985, 5643, 6179, x, 8531, 5485, f, w, Y, 5797, e, m, F, S, 8085