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

Input: Consider Input: ['I', 583, 4045, 't', 'N', 'H', '1017', 'u', '7255', '8583', 'M', 'x', '143', 'e', 'l', 'U', 'S', '791', 'a', '6927', '3887', 'R', 'i', 493, 2571, 7837], ['E', 3649, 'M', 7321, 8477, 1609, 'p', '1017', 'u', '7255', '8583', 'M', 'x', '143', 'e', 'l', 'U', 'S', '791', 'a', '6927', '3887', 'j', 4719, 'u', 'F', 'U', 'P', 'c', 3121, 'u', 6871, 'T']

Output: 1017, u, 7255, 8583, M, x, 143, e, l, U, S, 791, a, 6927, 3887


Input: Consider 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]

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


Input: Consider Input: ['u', 'n', 6003, 5183, 'L', 'F', 2219, 'd', 'N', 'H', 'k', '2199', 'K', 'V', '7549', 'm', 'i', '4347', '5233', 'N', 'P', 'A', '1883', '8219', '9317', 'S', '3825', '9639', '5533', 'Y', 4521, 3061, 7825, 9037, 'F', 'P', 9541, 7993], ['m', 'g', 3101, 'K', 3523, 7971, 'V', 'a', 7803, 'K', 'u', 7657, 3751, 'b', 'k', '2199', 'K', 'V', '7549', 'm', 'i', '4347', '5233', 'N', 'P', 'A', '1883', '8219', '9317', 'S', '3825', '9639', '5533', 'P', 'Z', 'C', 'u', 3505, 'i', 3303, 7391]


Output: k, 2199, K, V, 7549, m, i, 4347, 5233, N, P, A, 1883, 8219, 9317, S, 3825, 9639, 5533