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

Ex Input:
['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']

Ex Output:
395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179


Ex Input:
[1875, 'T', 'Y', '5527', 'F', 'y', '5669', 'm', 'k', 2655, 8089], [3997, 7707, 9937, 'M', '5527', 'F', 'y', '5669', 'm', 'a', 'e']

Ex Output:
5527, F, y, 5669, m


Ex Input:
[5481, 695, 'r', '7713', 'c', 'S', '1759', '8071', 'z', 'v', '2083', '8341', 'y', '1427', 'F', '5857', 't', 'x', 'Y', 'g', '1025', 'o', 'e', '8763', 'Z', 't', 'u', '5691', '5697', '2689', 'Q', 6611, 2697, 3501, 'V', 'k', 7013, 3381, 'y', 'l', 1105, 2407, 'A', 'p', 9185, 'y', 'c', 'W'], [1575, 1485, 1859, 115, 1291, 2211, 'f', '7713', 'c', 'S', '1759', '8071', 'z', 'v', '2083', '8341', 'y', '1427', 'F', '5857', 't', 'x', 'Y', 'g', '1025', 'o', 'e', '8763', 'Z', 't', 'u', '5691', '5697', '2689', 'y', 5001, 1557, 1191, 'A', 'F', 'O', 'j', 'x', 5743, 9981, 9437, 'h', 895, 1197, 1033]

Ex Output:

7713, c, S, 1759, 8071, z, v, 2083, 8341, y, 1427, F, 5857, t, x, Y, g, 1025, o, e, 8763, Z, t, u, 5691, 5697, 2689