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

Ex Input:
['T', 5369, 1173, 6093, 'n', 4575, 'h', 7975, 2921, 1655, 'r', 4521, 8665, 1933, 4703, 'N', 7921, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'W', 'G', 9031, 8561, 6175, 5329, 5317, 'd'], [7417, 'P', 'q', 'n', 7037, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'l', 4415, 'A', 'o']

Ex Output:
6499, 3029, 5963, P, 9959, 2345, 1265, 8097, 4181, r, t, X, s, l, p, F, 1107, 8395, A, 1351, G, G, G, 3113, q


Ex Input:
[7975, 4703, 'c', '8363', '1673', 'U', 'w', 6977], [3235, 'G', 'c', '8363', '1673', 'N', 'p']

Ex Output:
c, 8363, 1673


Ex Input:
[2607, 5321, 7279, 4483, 'r', 9139, '8727', 'E', '3941', 'b', 'u', '1483', 'Y', '8703', '2721', '9339', 'x', 'u', 'J', 'z', 'H', 'P', '9997', 'j', 'g', 6623, 959, 7707, 7227, 'Q', 'g', 4839, 'Q', 'C', 'B', 'u', 'H', 'H'], [6499, 5225, 'w', 'k', 'B', 5947, 'L', 'd', 8629, '8727', 'E', '3941', 'b', 'u', '1483', 'Y', '8703', '2721', '9339', 'x', 'u', 'J', 'z', 'H', 'P', '9997', 'j', 'w', 3187, 2633, 'M', 'd', 4745]

Ex Output:

8727, E, 3941, b, u, 1483, Y, 8703, 2721, 9339, x, u, J, z, H, P, 9997, j