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

Ex Input:
['U', 637, 'o', '3327', 'A', '7495', 'i', 'b', '2067', '5555', '3619', '1697', 't', 3715, 'Q'], ['u', 921, 4467, 2095, 345, 'b', '3327', 'A', '7495', 'i', 'b', '2067', '5555', '3619', '1697', 'E', 7935, 'B', 6341, 'N', 'V', 7655]

Ex Output:
3327, A, 7495, i, b, 2067, 5555, 3619, 1697


Ex Input:
[6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]

Ex Output:
4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I


Ex Input:
['L', 'h', 'z', 3383, 'k', 'M', 'D', 'F', 'J', '4549', 'S', 8257, 'O', 3873, 5703], ['R', 471, 4967, 'P', 471, 'k', 'M', 'D', 'F', 'J', '4549', 'L', 6695, 'F', 3287, 'n', 9141]

Ex Output:

k, M, D, F, J, 4549