In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 4721, 't', 8829, 329, 'r', 3499, 2007, 'w', 69, 'B', 'J', 'y', 4475, 'B', 'J', 'm', 'F', '6543', '2847', '2393', 't', 'S', 'g', 'x', 'k', '8775', 'Q', '7083', '1493', '6771', '6581', 'N', '1175', 'L', 'Y', '8601', 'C', 'm', 'f', 'W', 'H', 6533, 5195, 'L', 'R', 'P', 'o', 9815, 5455, 'q', 2399, 9587, 3521, 9501], ['J', 4719, 'V', 'u', 2539, 'D', 8013, 3873, 425, 9083, 'S', 4069, 'm', 'F', '6543', '2847', '2393', 't', 'S', 'g', 'x', 'k', '8775', 'Q', '7083', '1493', '6771', '6581', 'N', '1175', 'L', 'Y', '8601', 'C', 'm', 963, 'G']