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

Ex Input:
[3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']

Ex Output:
495, 3897, O, x, 2409, 6843, 3477, 5411


Ex Input:
['w', 'Z', 8573, 'o', 'D', 'J', 5037, 2641, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'G', 'P', 6189, 7671, 5677], ['P', 1411, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'P', 'K', 'l', 'U', 2505, 3803, 9459, 'H', 1427, 1453, 'g']

Ex Output:
O, T, 9477, u, n, x, 693, o, l, 9113, 3117, 3743, 1889


Ex Input:
['q', 'o', 4457, 'n', 5225, 3633, 8939, 8239, 8309, 8551, 'g', 'i', 231, 9961, 7455, 3895, 7053, 'z', 9989, 'j', 'M', 'X', 'H', 'o', '8723', 'c', 'v', '3103', 'a', 'F', 'v', '2307', 'w', 'Q', 'J', '695', 'e', 'y', '4567', '9385', 'h', 'c', '5405', '7473', '7479', '4335', '1059', 'e', 'N', 8357, 'f', 8957, 8107, 'H', 'a', 6831, 'E', 'K', 5359, 'U'], [8035, 'a', 'y', 'o', 6869, 4247, 817, 8471, 9273, 'c', 7983, 'v', 1305, 'n', 6951, 4505, 83, 3005, 5965, 'p', 'H', 'o', '8723', 'c', 'v', '3103', 'a', 'F', 'v', '2307', 'w', 'Q', 'J', '695', 'e', 'y', '4567', '9385', 'h', 'c', '5405', '7473', '7479', '4335', '1059', 'L', 53, 6103, 6769, 'j', 'M', 5003, 5689, 'k', 7347, 6505, 4659, 'd', 'p', 7555, 2393, 2835, 'z']

Ex Output:

H, o, 8723, c, v, 3103, a, F, v, 2307, w, Q, J, 695, e, y, 4567, 9385, h, c, 5405, 7473, 7479, 4335, 1059