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

Ex Input:
['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]

Ex Output:
1953, 7925, 8115, 5243, Y, 3939, 1231


Ex Input:
[8711, 'f', 8715, 7649, 4967, '5867', 'i', '6567', 'R', '6087', '2945', 'J', 'j', 9099, 6331], ['a', 'T', 'n', 4869, '5867', 'i', '6567', 'R', '6087', '2945', 'M', 3125, 'D', 3835]

Ex Output:
5867, i, 6567, R, 6087, 2945


Ex Input:
['C', 8595, '163', 'P', 'Z', 'E', 'O', 6315], [4907, 6965, '163', 'P', 'Z', 'E', 'C', 815, 'c', 'g']

Ex Output:

163, P, Z, E