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

Ex Input:
['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]

Ex Output:
q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P


Ex Input:
[605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']

Ex Output:
7897, 5823, P, 9001, J


Ex Input:
[4545, 9839, 1831, 'S', 821, 'A', 'u', 'v', 'G', 'K', 'g', '1849', '2393', '6037', 'L', 'X', '9929', '8275', '8875', 't', 'G', 't', 'f', 'y', '5903', 'I', '9445', '2749', 'M', 'h', 'm', 'v', 'i'], ['x', 'S', 'q', 'n', 3369, 'y', 3331, 'j', 5323, 8359, 'B', 5089, 5919, 'a', 3755, 'R', 'u', 'v', 'G', 'K', 'g', '1849', '2393', '6037', 'L', 'X', '9929', '8275', '8875', 't', 'G', 't', 'f', 'y', '5903', 'I', '9445', '2749', 'A', 579]

Ex Output:

u, v, G, K, g, 1849, 2393, 6037, L, X, 9929, 8275, 8875, t, G, t, f, y, 5903, I, 9445, 2749