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

Ex Input:
['K', 9673, 1909, 4297, 4479, 6817, 4899, 'C', 6959, 'V', '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'a', 'M', 'n', 6241, 'm'], ['x', 2703, 'G', 'g', 6139, 369, 'M', 2263, 1539, 8497, '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'X', 171, 2305, 2887, 'x', 'M', 557, 9003, 'H', 'V', 'B', 7409]

Ex Output:
9807, 5503, 4787, 8401, 1975, c, 3357, O, 2117, V, W, 223, n, 7837, J, 7137, 4965, O, 9937


Ex Input:
['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']

Ex Output:
R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X


Ex Input:
[7813, 777, 'f', 5795, 8213, 5203, 'Z', 'S', 6873, 6459, 'j', 'r', 'F', 2565, 'F', 'V', 5399, 743, 'd', 'W', '4025', 'R', 'L', 'u', '3063', '5561', 'e', '9063', '5769', '5721', '1149', '603', '6701', 'H', 'R', 'G', 'm', '287', 'L', '6975', '9979', '4795', 'A', 'n', 1351, 'J', 'H', 'l', 3271, 4059, 'y', 999, 4247, 'B', 'X', 9613, 6865, 675, 3971, 'Y', 'A', 'w', 'c'], ['h', 9853, 8265, 8667, 'W', '4025', 'R', 'L', 'u', '3063', '5561', 'e', '9063', '5769', '5721', '1149', '603', '6701', 'H', 'R', 'G', 'm', '287', 'L', '6975', '9979', '4795', 'A', 'j', 1205, 'X', 'u', 'N', 1355, 6389, 1053, 3603, 3061, 'u', 1725, 9455, 'e']

Ex Output:

W, 4025, R, L, u, 3063, 5561, e, 9063, 5769, 5721, 1149, 603, 6701, H, R, G, m, 287, L, 6975, 9979, 4795, A