In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6123, 'S', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'E', 't', 7923, 'F', 7937, 'n', 'J', 6811, 'o', 985, 3321, 't', 'k', 1817, 2563, 'a', 'l', 'i', 6063, 4935, 'S'], [8811, 'o', 6787, 'Z', 'm', 6351, 'M', 'B', 'Q', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'q', 'f', 'q', 9801, 'E', 'Q', 8995, 'r', 3495, 5973, 'g', 'L', 127, 8625, 1555, 'j', 1373, 'm', 1169]