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

Ex Input:
['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']

Ex Output:
4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191


Ex Input:
['z', 'L', 'e', 3279, 's', 'U', 'p', '2885', 'w', 'x', 7713], [3907, 'e', 's', 'U', 'p', '2885', 'w', 'F', 'x', 'v', 5319]

Ex Output:
s, U, p, 2885, w


Ex Input:
[7171, 4913, 347, 8987, 10005, 'e', 9085, 5581, 'h', 'z', 4163, 'O', 'r', 'P', 'v', '5311', 'W', 'm', 'H', '3313', '1557', '2177', 'V', '6863', 'f', 'A', 'w', '2271', '6077', 'i', '3011', 'H', 'a', 'u', 'y'], [6765, 'v', 's', 9115, 2979, 4199, 6405, 'I', 665, 'k', 4055, 'y', 'H', 's', 'X', 'v', '5311', 'W', 'm', 'H', '3313', '1557', '2177', 'V', '6863', 'f', 'A', 'w', '2271', '6077', 'i', '3011', 'H', 'a', 'S', 'J', 'o', 9061, 'I', 'b', 759, 1725, 'i', 91, 'z', 3045, 'G', 'U', 'P', 'U']

Ex Output:

v, 5311, W, m, H, 3313, 1557, 2177, V, 6863, f, A, w, 2271, 6077, i, 3011, H, a