In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5711, 'S', 'S', 5553, 5671, 6585, 9057, 'X', 1365, 'G', 2883, 'H', 'M', 'm', '2887', '1897', '2683', 'b', '2075', '503', 'u', '9349', '5007', '5771', 's', '1701', '1421', '9275', 'a', '8895', 'N', 'F', 'R', 2927, 6091], [9229, 9637, 2007, 'l', 'm', '2887', '1897', '2683', 'b', '2075', '503', 'u', '9349', '5007', '5771', 's', '1701', '1421', '9275', 'a', '8895', 'G', 'c', 7889, 'K', 5883, 'w', 'o', 'i', 6765, 'z', 'E', 4641, 'n', 'd']