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

Input: Consider Input: [4227, 9749, 'E', 6815, 4877, 1367, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'K', 'X', 't', 3741, 'r', 's'], [5281, 5929, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'E', 'D']

Output: F, l, 4299, 8737, p, 4981, 55, w, 7071, 2225, 3843, 7029, j, L


Input: Consider Input: ['T', 5369, 1173, 6093, 'n', 4575, 'h', 7975, 2921, 1655, 'r', 4521, 8665, 1933, 4703, 'N', 7921, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'W', 'G', 9031, 8561, 6175, 5329, 5317, 'd'], [7417, 'P', 'q', 'n', 7037, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'l', 4415, 'A', 'o']

Output: 6499, 3029, 5963, P, 9959, 2345, 1265, 8097, 4181, r, t, X, s, l, p, F, 1107, 8395, A, 1351, G, G, G, 3113, q


Input: Consider Input: ['Y', 9699, 4165, 5689, 1955, 8545, 'j', 6965, 1631, 1829, 5185, 'O', 7821, 'h', 'Q', '4549', '107', '6265', '7983', 'X', '2009', '3029', '8995', '3683', '6865', '4723', '6767', '3763', '9879', 'Y', 'f', 'V', 5171, 3143], ['h', 6393, 'n', 2621, 't', 'z', 3115, 6809, 573, 10013, 'I', 4653, 'r', 'X', '4549', '107', '6265', '7983', 'X', '2009', '3029', '8995', '3683', '6865', '4723', '6767', '3763', '9879', 'Y', 'b', 7811, 2669, 'D', 'u', 'z', 1785, 3679]


Output: 4549, 107, 6265, 7983, X, 2009, 3029, 8995, 3683, 6865, 4723, 6767, 3763, 9879, Y