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

Input: Consider Input: [6551, 'm', 4517, 'K', 9519, 'N', 6797, 'A', 'a', 5043, 2961, 1305, 'J', 'M', 'g', 5639, 6235, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'P', 'd', 9867, 6599, 'W', 'N', 4217, 'c', 5009], ['t', 9641, 7799, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'U', 'f', 8123, 'U', 3339, 4751]

Output: 9717, 6917, 7949, e, 2855, V, 4493, G, 375, e, 9909, J, t, N, 4535, 9963, 8917, W


Input: Consider Input: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]

Output: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163


Input: Consider Input: ['w', 7941, 755, 2929, 'H', 'a', 'r', 'N', 'V', '795', '8275', '1857', 'j', 'G', 'c', 7261, 'G', 8037, 'L'], ['d', 323, 'r', 'N', 'V', '795', '8275', '1857', 'j', 'G', 'D', 'R', 9479, 7195, 'U', 'E']


Output: r, N, V, 795, 8275, 1857, j, G