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

Example Input: ['U', 1887, '8423', 'j', '8053', 'g', '5441', 'H', 'j', 3847, 'd', 'J', 1971, 'M'], ['y', 'T', 'C', 'z', 6299, 5393, '8423', 'j', '8053', 'g', '5441', 'H', 'x', 'f', 4189, 'h', 'e', 6577]
Example Output: 8423, j, 8053, g, 5441, H

Example Input: [7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]
Example Output: 5913, X, 5591, o

Example Input: [9469, 8117, 'I', 1049, 6153, 'L', 1465, 9935, '857', '4275', 'O', '3819', '4873', 'p', '8971', 'E', '3587', '4115', '1407', '5177', 'b', 'T', '111', 'z', 'z', '7879', 't', 'h', 'G', 'M', 'r', 6565, 'g', 'A'], [8843, 'R', 1387, 'U', '857', '4275', 'O', '3819', '4873', 'p', '8971', 'E', '3587', '4115', '1407', '5177', 'b', 'T', '111', 'z', 'z', '7879', 't', 'd', 'X', 'R', 'A', 'P', 3527, 'D', 9207, 8179, 'G']
Example Output:
857, 4275, O, 3819, 4873, p, 8971, E, 3587, 4115, 1407, 5177, b, T, 111, z, z, 7879, t