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

Ex Input:
[7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']

Ex Output:
v, 4045, F, O, N, k, 6013


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:
[8779, 8771, 5381, 2709, 'A', 1483, 'Z', '5743', 'D', '543', 'r', '6317', 'r', '187', '4197', '9967', 'r', '1453', '2833', '7975', 'z', 2007, 'i', 9253, 'B', 4289], [3923, 3341, 'I', 1143, 'D', 'j', 3837, 4701, 'd', 'Z', '5743', 'D', '543', 'r', '6317', 'r', '187', '4197', '9967', 'r', '1453', '2833', '7975', 'L', 'g', 'l', 8989, 3607, 'E', 3273, 3531, 3889, 9563, 9701]

Ex Output:

Z, 5743, D, 543, r, 6317, r, 187, 4197, 9967, r, 1453, 2833, 7975