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

Input: Consider Input: ['d', 8577, 821, 4925, 851, 1015, '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'Y', 5707, 641, 'R', 's', 6601, 6037, 8129, 207, 'T', 3349, 549, 'd', 6875, 'i', 'M', 'U', 9157, 'W', 781, 'o', 4519, 'T', 'j'], ['i', 'm', 'y', 1645, 'O', 'g', '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'a', 4119, 1339, 'J']

Output: 9071, l, 7883, b, 3341, 2315, E, T, m, 2545, y, Y, 2633, f, q, 3705, 2923, z, N, S, T, c, J, P, 9483, y, 8367, m, m


Input: Consider Input: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']

Output: 8157, 9625


Input: Consider Input: [1333, 309, '2229', 'O', 'H', '8147', '9767', '4215', 'R', '8903', 'M', 'e', 1037, 1173, 5433], [1043, 8941, 4369, 4015, 1487, '2229', 'O', 'H', '8147', '9767', '4215', 'R', '8903', 'C', 'r', 9541, 'Z', 6777, 'b', 'u', 6957]


Output: 2229, O, H, 8147, 9767, 4215, R, 8903