In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9243, 'Y', 'f', 4049, 'w', 4071, 7717, 'U', '897', '6743', 'o', 'D', 'y', 'F', '8665', 'J', '7669', 'r', 'q', '4883', 'P', 'X', '1389', 'w', '4367', 'H', '1511', '5023', 'm', 'B', 3733, 3549, 'Q', 'a', 't', 'O', 10005, 8859, 5581, 4635], ['M', 8971, 7671, 8037, 'x', '897', '6743', 'o', 'D', 'y', 'F', '8665', 'J', '7669', 'r', 'q', '4883', 'P', 'X', '1389', 'w', '4367', 'H', '1511', '5023', 'e', 9611, 'L', 'h', 'R', 'T', 'z', 9617, 'k']