In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 'i', 'y', 'X', 'O', 6791, 9211, 2397, 'o', 6999, 'Z', 1109, 'g', '7001', 'T', 'V', 'Y', 'l', '1395', '9293', '2273', 'z', '2117', '3917', 'l', 's', 'A', '6301', 'q', 'r', 'M', '4969', 'u', 'K', 'P', 'i', 1023, 'W', 's', 5643, 'Q', 8081, 1573], [7385, 'j', 7811, 'M', 1977, 'F', 4633, 5635, 'X', 'Q', 'V', 1533, 1555, 3791, 'Z', 6797, 'g', '7001', 'T', 'V', 'Y', 'l', '1395', '9293', '2273', 'z', '2117', '3917', 'l', 's', 'A', '6301', 'q', 'r', 'M', '4969', 'u', 'K', 'p', 1517, 5685, 'w']