In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6171, 's', 's', 'f', 'i', 'S', 'r', 'z', 'M', '7377', '6927', '8373', 'n', '4783', '1739', '7721', '9741', 'Q', 'D', '5783', 'D', '4555', '4773', '1631', 'W', 'C', 5405, 3513, 8903, 8227, 'J', 'e', 4075], [2267, 9801, 'y', 4627, 'p', 'm', 5659, 'N', 4649, 8503, 'i', 6533, 9245, 7849, 7753, 'S', 'r', 'z', 'M', '7377', '6927', '8373', 'n', '4783', '1739', '7721', '9741', 'Q', 'D', '5783', 'D', '4555', '4773', '1631', 'z', 'Y', 455, 6805, 'o', 'O']