In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8489, 'i', 'I', 'n', 5357, 4813, 'Y', 'm', 1391, 'H', 6679, 5281, 5143, 'S', 'z', 'F', 'r', 'D', 'S', 'p', '4757', 'V', 'C', '1099', 'o', '533', '5655', '2677', 'R', 'l', '6497', '9447', 'h', 'p', '5515', 'Z', 'J', '5605', '3505', 'g', 'K', '5039', '7421', '3881', 'P', 'm', '5363', 't', 'S', 4845, 5189, 6071, 's', 7023, 'q', 'v', 's', 'm', 1437, 3783, 'p', 'A', 'e', 3075, 'd', 'k', 2953, 'P', 'a', 'V', 't'], [231, 5417, 6373, 'U', 8293, 2599, 'X', 1697, 603, 8975, 'j', 'O', 'N', 5503, 'X', 895, 'I', 5265, 'A', 5589, 'h', 'y', 'y', 'p', '4757', 'V', 'C', '1099', 'o', '533', '5655', '2677', 'R', 'l', '6497', '9447', 'h', 'p', '5515', 'Z', 'J', '5605', '3505', 'g', 'K', '5039', '7421', '3881', 'P', 'm', '5363', 'P', 5911, 'P', 3019, 3675, 'Q', 7921]