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

Ex Input:
[4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

Ex Output:
O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M


Ex Input:
[1043, 4021, 'b', 'e', '5055', 'N', 7081], ['o', 'S', 'b', 'e', '5055', 'q', 8711, 9911]

Ex Output:
b, e, 5055


Ex Input:
['X', 9819, 3095, 'K', 'g', 2063, 2409, 4779, 'y', 3887, '6799', '8667', '1581', '1773', '425', 'p', 'r', '8771', 'K', '6217', '5209', '4295', 'j', 'e', '4799', 'n', '9549', 'x', 'N', '4367', 'N', 'l', '9909', '6961', 'h', 'V', 'E', 4667, 6109, 'g'], [1811, 2589, 6241, 9441, 2357, 8475, 1079, 8993, 'y', 'c', 2173, 5173, 'g', 'P', 'R', 4775, 8525, '6799', '8667', '1581', '1773', '425', 'p', 'r', '8771', 'K', '6217', '5209', '4295', 'j', 'e', '4799', 'n', '9549', 'x', 'N', '4367', 'N', 'l', '9909', '6961', 'P', 'W', 'O', 'i', 5685, 'F', 5795, 9717, 'l', 'E', 1717, 8501, 1477]

Ex Output:

6799, 8667, 1581, 1773, 425, p, r, 8771, K, 6217, 5209, 4295, j, e, 4799, n, 9549, x, N, 4367, N, l, 9909, 6961