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

Input: Consider Input: [6475, 9471, 3883, 'k', 3715, 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 's', 'g', 'G', 9013, 1643, 619, 'b', 'k', 'z', 'd', 'w', 'E', 7989, 'o', 'C', 'Y'], [3391, 's', 5761, 9389, 6131, 'a', 1723, 451, 4781, 'S', 8389, 'l', 'P', 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 'D', 7661, 885, 'J', 7381, 2713, 1355, 451, 'N', 'P', 'T', 5127, 8301, 1891, 9947, 'x', 7295]

Output: h, 4275, 3019, 9711, d, 7655, j, Y, H, f, 3135, 9479, K, E, J, 9713, 6953


Input: Consider Input: ['R', 437, 'S', 'N', 'H', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'B', 3579, 'v', 8529, 'i'], ['w', 'j', 'X', 'G', 'I', 4567, 'H', 'w', 8869, 4535, 'L', 'q', 'u', 'V', 'L', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'R', 155]

Output: 3615, w, j, N, 6991, 7577, O, z, k, F, T, 3585, 5505, 5485, f


Input: Consider Input: ['n', 9669, 5763, 'z', '1705', '1747', '6831', 'v', '1441', 'e', 'z', '9857', 'x', '653', 'B', '1299', 'G', 'l', 'P', 'P', '4577', '9089', 'o', 'Y', 'E', 2215, 9015, 9461, 'c', 'u', 'o', 8375, 901, 'n', 1967], ['z', 1417, 'r', 3603, 3349, 3067, 'i', 3477, 3941, 4135, 6715, 4721, 7995, 1761, 'S', '1705', '1747', '6831', 'v', '1441', 'e', 'z', '9857', 'x', '653', 'B', '1299', 'G', 'l', 'P', 'P', '4577', '9089', 'o', 'Y', 'd', 'k', 731, 8323, 603, 'G', 'k', 'G', 311, 10027, 5767, 3009, 'a', 'g', 'n', 9289, 'd', 5151, 9473, 5983]


Output: 1705, 1747, 6831, v, 1441, e, z, 9857, x, 653, B, 1299, G, l, P, P, 4577, 9089, o, Y