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

Example Input: [5413, 'T', 'i', 'Q', 'Y', 'H', '2143', 'M', 'p', 'M', 'l'], ['Y', 'p', 'Y', 'H', '2143', 'M', 'A', 5017, 4553]
Example Output: Y, H, 2143, M

Example Input: [4961, 'H', 9957, 'w', 'K', 'Y', 3375, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'y', 2753, 2989, 6093, 7091, 8043, 'c'], [9279, 'S', 6127, 5845, 237, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'w', 9497, 'K', 2297]
Example Output: S, 3191, 4439, C, 1965, 2787, 4507

Example Input: ['B', 'G', 'm', 63, 'O', '6469', '683', 'T', 'Z', 'R', 'U', '3073', '6483', '537', 'k', 'r', 'o', '8673', 'r', 2411, 'C', 'i', 'V', 7861, 2239, 4679, 3059], [8867, 'U', 'c', 'R', 7893, 'L', 8993, '6469', '683', 'T', 'Z', 'R', 'U', '3073', '6483', '537', 'k', 'r', 'o', '8673', 'g', 'U', 'X', 'H', 'm', 8827, 'M', 5311, 't', 'y', 1769]
Example Output:
6469, 683, T, Z, R, U, 3073, 6483, 537, k, r, o, 8673