In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3487, 'P', 4677, 'K', 7345, 9189, 5057, 9741, 'm', 5729, 4999, 2295, 'J', 'B', 'E', 5559, '8363', '5201', 'I', '2363', '5355', 'Q', 'L', '4289', 'X', 'l', 'N', 'r', 'n', '4269', 'e', 'A', 'n', '961', '6083', 'f', '9571', '8081', 'Q', 'H', '6035', 'P', 8423, 'G', 'Y', 'z', 9513, 1047, 8829, 3265, 3123, 'h', 'e'], ['O', 'S', 'k', 'H', 'V', 7913, 'M', 1111, 'Z', 'P', 1767, 'o', '8363', '5201', 'I', '2363', '5355', 'Q', 'L', '4289', 'X', 'l', 'N', 'r', 'n', '4269', 'e', 'A', 'n', '961', '6083', 'f', '9571', '8081', 'Q', 'H', '6035', 'Y', 'V', 'N', 3987, 4141, 8247, 9251, 7883, 431, 'H', 'M', 'g', 5063, 'h', 7719, 'L', 'P']