In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 9817, 4355, 527, 'd', 8633, 5985, 475, 'q', 905, 'P', '1287', '7541', '387', 't', 'H', '511', 'V', 'p', '1669', '5795', '993', 'z', '6031', '4047', 'w', '2179', '6369', '3761', '8219', 'O', '9919', '2277', '2757', '6457', 'Y', 'g', '9611', '9341', 'O', 'X', 's', 9277, 5843, 8913, 5397, 'm', 2427, 'E', 'K', 'f', 4427, 8225, 1433, 's', 'W', 205, 5025, 'R'], ['Q', 'j', 4965, 3531, 'R', 'w', 'n', 7597, 'w', 7157, 'T', 'S', 9727, 'c', 'h', 1765, 7929, 'o', 6339, 'p', 8951, 9037, 'I', 'P', '1287', '7541', '387', 't', 'H', '511', 'V', 'p', '1669', '5795', '993', 'z', '6031', '4047', 'w', '2179', '6369', '3761', '8219', 'O', '9919', '2277', '2757', '6457', 'Y', 'g', '9611', '9341', 'b', 269, 7795, 'Q', 9443, 'Z', 'T', 'M', 'n', 'q', 'U', 'C', 'A', 6661, 2693, 'H', 'k', 2037, 'N', 'a', 1195]