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

Example Input: ['F', 175, 'f', 8443, 3869, 'X', 8987, 's', 'x', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'E', 'T', 9337, 'B', 3133, 10013], [2067, 3211, 'U', 'S', 8949, 'N', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'Q', 1511, 'X', 1105, 3303, 'u', 8705, 'j']
Example Output: r, 6805, 843, t, g, T, 8865, K, 9607, G, 4521, z

Example Input: ['z', 'F', 'H', 'E', 1495, 'u', 't', 'm', 'o', '1165', 'b', 75, 'B'], ['n', 'H', 'M', 'j', 3999, 'u', 't', 'm', 'o', '1165', 'r', 'x', 'W']
Example Output: u, t, m, o, 1165

Example Input: ['C', 6913, 'M', 7967, 'c', 'U', '2267', 'y', '1441', 'N', '4311', 'C', 'L', 'E', 'J', 8985, 'D'], ['O', 4163, 'm', 'v', 'q', '2267', 'y', '1441', 'N', '4311', 'C', 'A', 1873, 2291, 'K']
Example Output:
2267, y, 1441, N, 4311, C