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: ['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']
Example Output: 8447, K

Example Input: ['N', 8573, 'h', 'e', 'w', 6017, 2899, 4767, 't', 'P', 'G', 3617, 253, 331, 9245, 'a', '8959', 'R', '5799', 'G', 'l', 'O', 'j', 'k', 'E', '935', 'C', 'p', 'k', '4593', 'y', '253', '1497', 'o', 'C', 'C', 5151, 2857, 9257, 'w', 'O', 5993, 'p', 6141, 'a'], ['l', 6091, 2009, 7105, 537, 5203, 8983, 'e', 8735, 'j', 'm', 'J', 4613, 'I', 2821, 2855, 'B', 2973, 'a', '8959', 'R', '5799', 'G', 'l', 'O', 'j', 'k', 'E', '935', 'C', 'p', 'k', '4593', 'y', '253', '1497', 'o', 'A', 'o', 7267, 4625, 'A']
Example Output:
a, 8959, R, 5799, G, l, O, j, k, E, 935, C, p, k, 4593, y, 253, 1497, o