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

Ex Input:
[9049, 'c', 'B', 'H', '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'N', 'z', 8197, 'p', 8453, 2429, 1051, 'Y', 4315, 5473, 't', 4905, 'J', 'l', 5959, 't', 'x', 'F', 8431], [9507, 2299, 6223, 3229, 4513, 3943, 'R', 2817, '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'T', 3597]

Ex Output:
8393, 3255, C, 6239, G, 1819, 6771, 1217, 2853, 7341, C, S, 2155, N, 2837, N, v, 9271, Q, g, 8921, 7371, G


Ex Input:
['f', 'I', 'G', 627, 6145, 4779, '7903', 'c', '6667', 'j', 'N', 'F', '8035', 'E', 'u', 'V', '3605', 'y', '9445', '1541', '6709', 'Z', 'g', 'W', '7809', 't', '1887', 's', 'a', 9101, 2313, 't', 1319, 7473, 'p', 'a', 'd', 2643, 3033, 8709], [6835, 'a', 'g', 6065, 'v', 'm', 3313, 'V', '7903', 'c', '6667', 'j', 'N', 'F', '8035', 'E', 'u', 'V', '3605', 'y', '9445', '1541', '6709', 'Z', 'g', 'W', '7809', 't', '1887', 'X', 609, 'c', 6763, 2011, 'u', 'I', 8969, 315, 1553, 967, 'c', 'W', 9607, 'u', 'E', 'g', 3559, 'd', 99]

Ex Output:
7903, c, 6667, j, N, F, 8035, E, u, V, 3605, y, 9445, 1541, 6709, Z, g, W, 7809, t, 1887


Ex Input:
[5111, 8499, 'N', 561, 5171, 'i', 3245, 8937, 'v', 1191, 'X', 8607, 'B', 'N', 7979, 197, 7563, 'E', 'n', '9369', 'I', '6905', '7271', '9243', 'P', 'y', '5633', 'N', '6471', 'o', 'a', '1219', 'h', 'n', 'S', '4151', 'e', 'R', '2811', '4259', 'f', '3895', 'Z', '667', 'n', 3885, 'd', 2821, 5657], ['A', 1321, 'Q', 'd', 3681, 'k', 1533, 9133, 8437, 'M', 7521, 'p', 't', 5547, 'Y', 9335, 'u', 3481, 309, 'N', 's', 733, 7693, 'n', '9369', 'I', '6905', '7271', '9243', 'P', 'y', '5633', 'N', '6471', 'o', 'a', '1219', 'h', 'n', 'S', '4151', 'e', 'R', '2811', '4259', 'f', '3895', 'Z', '667', 'S', 5719, 'l', 9863, 3415, 'u', 9969, 'q', 't', 'D', 4189, 8391, 'Y', 'P', 7475, 'Y']

Ex Output:

n, 9369, I, 6905, 7271, 9243, P, y, 5633, N, 6471, o, a, 1219, h, n, S, 4151, e, R, 2811, 4259, f, 3895, Z, 667