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

[7211, 'U', 5563, 9399, 635, 'o', 7851, 'n', 'z', 6093, 4021, 7179, 5961, 6003, 2375, 1197, 6945, 'h', 'F', 'Z', 8275, 'Z', 'S', 'w', 'T', 'x', 'y', 'S', 'P', 'G', 'x', 'I', 'w', '10019', 'P', 'F', '447', '4847', 'O', 'I', 'H', '6199', '6569', '3105', 'e', 'I', 'I', '305', '7913', 'L', '6743', 'q', '7337', 'g', '7527', '3057', '441', 'F', 'E', 'M', 2403, 8893, 'U', 263, 8657, 8727, 7555, 7983, 8377, 7031], [8471, 'c', 677, 3451, 'X', 17, 's', 3133, 'O', 3541, 8935, 5501, 'a', 7001, 'p', 'o', 7339, 'O', 7617, 'W', 'Y', 7381, 1663, 'S', 'P', 'G', 'x', 'I', 'w', '10019', 'P', 'F', '447', '4847', 'O', 'I', 'H', '6199', '6569', '3105', 'e', 'I', 'I', '305', '7913', 'L', '6743', 'q', '7337', 'g', '7527', '3057', '441', 'J', 243, 1211, 'V', 4217, 2191, 'y', 5585, 5717, 9555, 3021, 'o', 'q', 'L', 'd']
S, P, G, x, I, w, 10019, P, F, 447, 4847, O, I, H, 6199, 6569, 3105, e, I, I, 305, 7913, L, 6743, q, 7337, g, 7527, 3057, 441