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

Example Input: ['e', 167, 4283, 'l', 247, 4197, 3397, 'Z', 'F', 2835, 4273, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'P', 'U', 'G', 'X', 7049, 'q'], ['z', 'p', 'L', 'A', 'o', 391, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'I', 8741, 3159, 't']
Example Output: F, 4769, 6831, 5497, Z, g, Y, 2003, 2851, 9303, 6173

Example Input: [6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]
Example Output: 4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I

Example Input: [6703, 'h', 'x', 365, 'P', 'E', 'U', '7249', 'B', '8911', '7723', '4661', '2897', '1977', 'B', '2559', '4237', '3603', 'w', '4405', '1409', 'Y', 'l', 'A', 'f', 4915, 'C', 8057, 9263, 3697, 'n', 2767], ['t', 7861, 'H', 9503, 3197, 'w', 5125, 8097, '7249', 'B', '8911', '7723', '4661', '2897', '1977', 'B', '2559', '4237', '3603', 'w', '4405', '1409', 'Y', 'q', 3675, 'j', 'B', 'o', 'o', 2939, 9615, 3761, 'I']
Example Output:
7249, B, 8911, 7723, 4661, 2897, 1977, B, 2559, 4237, 3603, w, 4405, 1409, Y