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

Ex Input:
['p', 9773, 'Y', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'S', 5087, 'M', 7601, 'D'], [7787, 'l', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'X', 'W', 3163, 'f', 5201]

Ex Output:
o, w, s, 583, e, 2773, 9925, 8535, M, 9831, V, q


Ex Input:
[4041, 'A', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'H', 4635, 7087, 8857, 1057, 1877, 'U', 'V', 7175, 'r', 4599], [801, 8323, 7503, 'U', 381, 'd', 'y', 453, 1687, 'R', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'j', 2559, 3465, 'C', 'I', 5493, 'X', 'r']

Ex Output:
9609, E, r, d, u, S, 7397, 8573, 4893, T, t, K, 7425, E, J, Q, U, 1407, 3419, 1193, H, 7525


Ex Input:
['h', 8833, 'T', 4753, 6753, '6117', '9501', 'o', '3937', 'N', '5507', 'd', '9211', '2061', '1697', 'q', 's', '5911', '2643', '3861', '961', 'p', 'u', 'B', 695, 9237, 'a', 4385, 'u', 'e', 'r', 't', 9011, 6351, 'v', 'f', 2577], ['h', 3651, '6117', '9501', 'o', '3937', 'N', '5507', 'd', '9211', '2061', '1697', 'q', 's', '5911', '2643', '3861', '961', 'p', 'U', 7081, 'A', 'd', 6443, 3553, 5923, 1181, 7359, 3469, 'Q', 8579, 'G', 'P', 7077]

Ex Output:

6117, 9501, o, 3937, N, 5507, d, 9211, 2061, 1697, q, s, 5911, 2643, 3861, 961, p