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

Example Input: [2255, 4205, 'U', '7567', 'k', 5167], ['Q', 9439, 'U', '7567', 'H', 1307]
Example Output: U, 7567

Example Input: [273, 'i', 4051, 9063, 'D', 'E', 5087, 'M', '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'h', 'u', 5559, 1733, 9555], ['i', 5977, 'r', 'b', 589, '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'n', 'y', 'q']
Example Output: 9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339

Example Input: [8681, 3501, 9077, 4937, 'i', 8879, 2675, 'p', '4113', '6823', 'J', 'b', 's', 'A', 'P', '10011', 's', '8825', 'I', 'z', 'J', 'S', 'd', 'Y', 'q', 'Y', 'w'], [9571, 7195, '4113', '6823', 'J', 'b', 's', 'A', 'P', '10011', 's', '8825', 'I', 'm', 1093, 6533, 'R', 'U', 2971]
Example Output:
4113, 6823, J, b, s, A, P, 10011, s, 8825, I