In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 5051, 2317, 'u', 3147, 709, 2325, 9683, 'E', 'A', 7517, 'R', 3791, 'O', 1019, 6979, 7871, 'f', 'u', 'R', 'u', '7957', 'f', '8475', '5715', 'K', '2617', '3973', '2671', 'O', '2095', '8431', '2019', '6489', 'u', '3027', '8009', '3375', 'B', 'J', 'R', 'Y', 5531, 'd', 'P', 1597, 'Z', 5739, 1871, 3139, 't'], [3133, 6797, 'X', 'A', 7971, 6053, 'J', 2389, 'W', 7779, 489, 7259, 737, 'u', 'R', 'u', '7957', 'f', '8475', '5715', 'K', '2617', '3973', '2671', 'O', '2095', '8431', '2019', '6489', 'u', '3027', '8009', '3375', 'B', 'J', 'R', 'S', 'X', 911, 8489, 'm']