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

Ex Input:
[2255, 4205, 'U', '7567', 'k', 5167], ['Q', 9439, 'U', '7567', 'H', 1307]

Ex Output:
U, 7567


Ex Input:
[3043, 'd', 1055, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'Y', 'f', 4599], ['Q', 'X', 2931, 'f', 3139, 'r', 3625, 4375, 'B', 8381, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'N', 8281, 'W', 'u', 5969, 'w', 'b', 1735, 'j']

Ex Output:
2909, J, D, 4735, 6701, v, P, 4341, 7905, G, 5297, 6721


Ex Input:
['E', 2729, 'd', 937, 1499, 'l', 3603, 'l', 's', 'j', '4501', 'o', 'Y', 'G', 'e', 'R', '5983', 'K', 'Z', 4817, 9237, 1871, 5875, 'd', 9621, 'L'], ['o', 'M', 's', 'G', 3579, 'K', 'B', 's', 'j', '4501', 'o', 'Y', 'G', 'e', 'R', '5983', 'E', 7271, 9943, 5433, 'w']

Ex Output:

s, j, 4501, o, Y, G, e, R, 5983