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

Ex Input:
[8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]

Ex Output:
5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571


Ex Input:
['T', 5987, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'n', 5107, 'w', 'u'], [6625, 'm', 8849, 3385, 6853, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'a', 'G', 'G', 'e', 3501]

Ex Output:
3759, O, x, 4311, e, 6841, R, d, y, 2745


Ex Input:
[2953, 7165, 'T', 6541, 727, 'D', 'u', 6239, 's', 655, 'g', 'M', 7603, 8719, 10025, '4055', 'u', '5971', 'e', 'C', '2745', 'X', '9447', 'm', '5811', 'c', '9905', 'I', 'U', 'N', '2919', 'q', 'M', 6349, 6629, 8057, 'E'], ['x', 2837, 'i', 'X', 'U', 'Q', 'g', 365, 851, 'V', 'c', 7539, '4055', 'u', '5971', 'e', 'C', '2745', 'X', '9447', 'm', '5811', 'c', '9905', 'I', 'U', 'N', '2919', 'q', 'Q', 'd', 'y', 'o', 7853, 2213]

Ex Output:

4055, u, 5971, e, C, 2745, X, 9447, m, 5811, c, 9905, I, U, N, 2919, q