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

Input: Consider Input: ['B', 6743, 'l', 'I', 2773, 'a', 8205, 7127, 5877, 8427, 'a', 'F', 929, '2299', 'P', '3045', 'x', 'i', '9095', '4061', 'j', 'd', 'E', 'l', '1497', 'E', 'U', '6491', '1385', 'K', 'k', 'n', 'd', 'u', 'G', 'O', 'B', 5921], [4461, 'g', 'w', 2465, 'N', 85, 2921, 2129, 'z', 6211, 3077, 4427, 4327, 6595, '2299', 'P', '3045', 'x', 'i', '9095', '4061', 'j', 'd', 'E', 'l', '1497', 'E', 'U', '6491', '1385', 'K', 'k', 'n', 'r', 383, 5359, 9209, 'Q', 5765, 5453, 'V', 'w', 'R', 2919, 1949, 'L', 8175, 'g', 'n', 6677, 899]

Output: 2299, P, 3045, x, i, 9095, 4061, j, d, E, l, 1497, E, U, 6491, 1385, K, k, n


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: ['P', 429, 3325, 433, 7441, 8603, 9661, 1787, 9957, 1809, 557, 'C', 8203, 1323, '7275', 'h', '7821', '8925', '4631', 'E', '7943', 'C', '2411', 'N', 'k', '9583', '941', '6831', 'H', 'L', 2905, 717, 9047, 8455, 489, 4369, 6791, 'K', 'j'], [1611, 1777, 5619, 6855, 'X', 'Z', '7275', 'h', '7821', '8925', '4631', 'E', '7943', 'C', '2411', 'N', 'k', '9583', '941', '6831', 'i', 'U', 7013, 9341, 'F', 6199]


Output: 7275, h, 7821, 8925, 4631, E, 7943, C, 2411, N, k, 9583, 941, 6831