In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2611, 'U', 8725, 6175, 61, 'M', '671', '2085', '627', '9235', '1557', '8585', 'N', '7359', 'f', '6995', 'J', '5359', 'E', '3585', 'P', '1197', '5739', 'K', 'k', 'N', 7629, 'Y'], ['S', 'p', 5949, 8839, 'A', 'S', 7617, 'y', 'G', 2689, 4327, 6807, '671', '2085', '627', '9235', '1557', '8585', 'N', '7359', 'f', '6995', 'J', '5359', 'E', '3585', 'P', '1197', '5739', 'C', 'u', 9749, 1661, 9385, 'v', 8687, 7705, 'z', 'U', 'H', 1997, 535, 'p']