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

Ex Input:
[9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']

Ex Output:
3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J


Ex Input:
['C', 573, 'f', 1193, 7823, '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'I', 3559, 5459, 2961, 'j', 7205, 5403, 8753, 2855, 55, 9273, 'e', 'G', 9505, 6191], [6441, 'L', 'r', 6289, 'P', 'r', 9227, 8285, 'Z', '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'F', 'A', 'h', 'm', 5711, 'b', 933, 1093, 'S', 'b', 'x']

Ex Output:
1533, F, B, w, y, 3525, t, 7201, h, f, w, Q, U, 1569, m, 9675, 1053, 4611


Ex Input:
[7807, 6429, 'n', 813, 'R', 3267, 'H', 'y', 9829, 'Y', 'Z', 'd', 'f', '5325', '6891', 'F', 'Y', '4571', '573', 'W', 'r', '8721', '1365', 't', 'X', '3843', '7417', 'Q', 'f', '6675', '3017', 'L', 'Q', 'i', '457', 'q', 'F', '6893', '4687', '1377', 'm', 'x', 9601, 319, 'y', 2935], ['M', 6087, 9083, 'L', 's', 6601, 'j', 8029, 'O', 7763, 'u', 'B', 'i', 4227, 2787, 'e', 1451, 'E', 'Q', 'r', 'D', 9161, '5325', '6891', 'F', 'Y', '4571', '573', 'W', 'r', '8721', '1365', 't', 'X', '3843', '7417', 'Q', 'f', '6675', '3017', 'L', 'Q', 'i', '457', 'q', 'F', '6893', '4687', '1377', 'q', 'G', 't']

Ex Output:

5325, 6891, F, Y, 4571, 573, W, r, 8721, 1365, t, X, 3843, 7417, Q, f, 6675, 3017, L, Q, i, 457, q, F, 6893, 4687, 1377