In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5985, 'b', 'V', 'v', 2499, 9801, 'I', 'k', 'B', 2591, 'z', 'm', 3021, 5881, 'D', 'A', 8993, 'j', '7515', '4345', 'J', 'E', 'W', 'd', 'h', 'M', '3321', '227', '291', '6659', 'k', '7405', '9783', 'l', 'a', '5963', 'H', '8981', '2421', 'c', 'D', '2827', 'H', 'F'], ['f', 'K', 'D', 'l', 'M', 'U', 'o', 8803, 1093, 'C', 'o', 4865, 'W', 'n', 6823, 3673, 4251, 1201, 559, 'p', '7515', '4345', 'J', 'E', 'W', 'd', 'h', 'M', '3321', '227', '291', '6659', 'k', '7405', '9783', 'l', 'a', '5963', 'H', '8981', '2421', 'c', 'D', '2827', 'g', 'm', 'G', 9341, 'X', 9053, 399, 8183, 'X', 'H', 'C', 'i', 8101, 4913, 7047, 2647, 3177, 1021, 2529, 'd']