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

Example Input: ['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]
Example Output: U, e, 1183, 9537, K, e, p

Example Input: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]
Example Output: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189

Example Input: ['S', 8735, '3417', 'o', 'U', '9411', '1011', '929', 'T', '9653', '4007', 'Y', 'V', 'O', '6595', '1873', '8647', 'f', '3959', 'k', '7709', '6639', '59', 'L', 8561, 'B', 'd', 'E', 6849], ['Z', 9111, 6719, 'a', 'n', 745, '3417', 'o', 'U', '9411', '1011', '929', 'T', '9653', '4007', 'Y', 'V', 'O', '6595', '1873', '8647', 'f', '3959', 'k', '7709', '6639', '59', 'C', 5355]
Example Output:
3417, o, U, 9411, 1011, 929, T, 9653, 4007, Y, V, O, 6595, 1873, 8647, f, 3959, k, 7709, 6639, 59