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

Example Input: [3007, 9911, 'b', 2015, 'P', 'D', 'S', 91, 'G', 'Q', 'g', 'r', 'M', 'I', 'S', 3911, 'Q', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'Y', 2705, 't', 9889], ['l', 3713, 10005, 9299, 'i', 'V', 'v', 6969, 1775, 6541, 6827, 'S', 1677, 1181, 'C', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'p', 557]
Example Output: i, d, 6005, B, g, 1179, 5719, L, E, b, c, a, E, n, R, 8111, A, 3377

Example Input: ['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]
Example Output: 831, c, 8509, 8765, 847, 9425, 3691

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