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

Ex Input:
[7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]

Ex Output:
8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n


Ex Input:
['e', 439, '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'j', 4931, 7411, 'B', 'H', 'j', 7789], ['F', 'J', '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'R', 'i', 'c', 'k', 'h', 'u']

Ex Output:
9737, 9901, J, 4323, J, 3137, G


Ex Input:
[3197, 'A', 1579, 'S', 9417, 'V', 10017, 'A', 2177, '5523', 'A', 'x', 'Q', '5575', '1223', '363', 'B', 'R', 'b', '6087', 'Z', '1189', '1051', 'W', '6123', '9905', 'I', 'r', 773, 3779, 9867, 7249, 'U', 8311, 4745, 8619, 5063, 6081, 's'], ['w', 'X', 1099, 'i', 'R', 'g', 2873, '5523', 'A', 'x', 'Q', '5575', '1223', '363', 'B', 'R', 'b', '6087', 'Z', '1189', '1051', 'W', '6123', '9905', 'e', 2759]

Ex Output:

5523, A, x, Q, 5575, 1223, 363, B, R, b, 6087, Z, 1189, 1051, W, 6123, 9905