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

Ex Input:
[5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']

Ex Output:
6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M


Ex Input:
['t', 845, 'T', '5285', '7837', 'N', 6717], [7211, 7903, 'U', 'T', '5285', '7837', 'D', 'U', 'R']

Ex Output:
T, 5285, 7837


Ex Input:
['H', 'A', 6837, 1279, 'P', 801, '4317', '5221', 'z', '5149', '1437', 'o', 'H', '2779', 'W', 'G'], [6663, 'v', '4317', '5221', 'z', '5149', '1437', 'o', 'H', '2779', 'f', 949, 'a', 9663, 's', 'i', 'x', 'i']

Ex Output:

4317, 5221, z, 5149, 1437, o, H, 2779