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

Ex Input:
[3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']

Ex Output:
655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827


Ex Input:
[3441, 443, 'D', 'n', '5111', 'F', 'T', 'i', 'O', '2763', '417', '9849', '4313', 'I', 3749, 9061, 'W', 'y'], ['O', 9869, 'X', 4785, 6259, 9043, 'h', '5111', 'F', 'T', 'i', 'O', '2763', '417', '9849', '4313', 'w', 'T', 'q', 8411, 't', 4719]

Ex Output:
5111, F, T, i, O, 2763, 417, 9849, 4313


Ex Input:
[9243, 'Y', 'f', 4049, 'w', 4071, 7717, 'U', '897', '6743', 'o', 'D', 'y', 'F', '8665', 'J', '7669', 'r', 'q', '4883', 'P', 'X', '1389', 'w', '4367', 'H', '1511', '5023', 'm', 'B', 3733, 3549, 'Q', 'a', 't', 'O', 10005, 8859, 5581, 4635], ['M', 8971, 7671, 8037, 'x', '897', '6743', 'o', 'D', 'y', 'F', '8665', 'J', '7669', 'r', 'q', '4883', 'P', 'X', '1389', 'w', '4367', 'H', '1511', '5023', 'e', 9611, 'L', 'h', 'R', 'T', 'z', 9617, 'k']

Ex Output:

897, 6743, o, D, y, F, 8665, J, 7669, r, q, 4883, P, X, 1389, w, 4367, H, 1511, 5023