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

Example Input: ['M', 'm', 8571, 'J', 7297, 3761, 35, 8987, 1723, 1719, 1591, 'Z', 3877, '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'X', 2021, 'N', 3259, 'X', 'h', 'v', 7289, 9767, 2785, 7275], ['h', 'w', 'c', 'p', 'y', 'y', 'h', 'X', '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'P', 'k', 'I', 7703]
Example Output: 6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365

Example Input: ['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']
Example Output: 4623, M, d, 5977, 7669, 8583, 2455, D, j, c

Example Input: [1053, 'Y', '7537', 'j', 'j', 'v', '5775', '863', '6979', 'q', '3255', '915', 'e', '3153', '6965', 'O', 'i', '8749', '9951', 'l', '5765', '2303', '8319', 't', 'T', '6451', '5155', 'H', 'q', 'e', 5971, 3227, 7921, 2853, 'M', 'n', 'W', 5527, 's', 'e', 'k', 'I', 'B', 2173, 175, 'h', 'r', 'i'], ['F', 3433, 5817, 4219, '7537', 'j', 'j', 'v', '5775', '863', '6979', 'q', '3255', '915', 'e', '3153', '6965', 'O', 'i', '8749', '9951', 'l', '5765', '2303', '8319', 't', 'T', '6451', '5155', 'H', 'q', 'p', 5701, 't', 'O', 'M', 'K', 'E', 'C']
Example Output:
7537, j, j, v, 5775, 863, 6979, q, 3255, 915, e, 3153, 6965, O, i, 8749, 9951, l, 5765, 2303, 8319, t, T, 6451, 5155, H, q