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

Example Input: ['S', 4895, 'h', 6721, 'W', 8371, 9167, 3811, 3237, 'U', 'x', 'R', 783, 6037, 9769, 6371, 8745, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'c', 'S', 'q', 4381, 7327, 'h', 'A', 'P', 't', 1021, 6667, 'X'], ['v', 'G', 8727, 7711, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'K', 2875, 467, 'x', 'S', 5845, 8137, 33, 'X', 3427, 'C', 9271, 'J']
Example Output: 7375, 7449, 3345, 8881, 2015, o, 3175, 3809, 2331, 2327, 3549, p, u, 263, 6767, 4499, 4279

Example Input: [875, 'U', 'g', 'q', 'H', 2847, 'f', '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'e', 'n', 5885, 'w', 3345, 4693, 'H', 7789, 'y', 'j', 'e'], ['V', 'j', 6713, 2923, 'y', 6205, 'm', 5961, 9023, '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'y', 7427, 5987]
Example Output: 6811, B, 7549, K, r, V, x, P, X, 2469, 3845, W

Example Input: ['G', 243, 4567, 567, 5839, 5815, 5697, 'E', 'M', 'S', 'y', 't', '4299', '4747', 'I', '3297', 'H', 'P', '9461', '4737', '645', '8123', 'h', 'z', 6925, 3815, 4175, 771, 3141, 'Z', 'd', 8417], ['z', 267, 3259, 567, 'O', 1843, 'G', 2911, 5611, 'E', 'l', 't', '4299', '4747', 'I', '3297', 'H', 'P', '9461', '4737', '645', '8123', 'c', 'O', 'B', 'Q', 2407, 'm', 'L', 'v', 7587, 'y', 8883]
Example Output:
t, 4299, 4747, I, 3297, H, P, 9461, 4737, 645, 8123