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

Example Input: ['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]
Example Output: q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P

Example Input: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
Example Output: N, P, 9231, j, H, 5851

Example Input: [5015, 7657, 8539, 'm', 'U', 9895, 7857, 6305, 'O', 2339, 'o', 'j', 'h', 'G', 'e', 'V', 5197, 2363, 'C', 'C', 'b', 'P', '8093', 'U', '2015', 'H', '3851', '6683', '4799', '6147', 'C', '8283', '4543', '8345', '2693', '1085', 'k', 'F', 'w', '5509', '6717', 'h', 'x', 'S', '8993', 'C', 3745, 8613, 8295, 'S', 1741, 'c', 'y', 1959, 5089, 9101, 'Q', 2555, 9455, 'l', 5341, 7061, 'W', 7707, 'g', 5991, 'l'], [933, 'J', 't', 'c', 4073, 'u', 1695, 3289, 3845, 'd', 5051, 'z', 8051, 8325, 'T', 2815, 'w', 'C', 'b', 'P', '8093', 'U', '2015', 'H', '3851', '6683', '4799', '6147', 'C', '8283', '4543', '8345', '2693', '1085', 'k', 'F', 'w', '5509', '6717', 'h', 'x', 'S', '8993', 'h', 'n', 3319, 'j', 'O', 'Q', 7421]
Example Output:
C, b, P, 8093, U, 2015, H, 3851, 6683, 4799, 6147, C, 8283, 4543, 8345, 2693, 1085, k, F, w, 5509, 6717, h, x, S, 8993