In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'g', 'Y', 'b', 2509, 'V', 'H', 3723, 'Q', '505', '9687', '2591', 'H', '725', 'x', 'b', '529', 'R', 'g', 'O', '3299', '1893', 'x', 'L', 'Z', '8923', 'o', 'L', 'X', 'o', 'P', '631', 'h', '7213', 'T', 797, 'T', 'h', 'w', 'x', 'f', 'G', 'i', 769, 'o', 9865, 77, 'l', 'B', 'd'], [6651, 9911, 8733, 'w', '505', '9687', '2591', 'H', '725', 'x', 'b', '529', 'R', 'g', 'O', '3299', '1893', 'x', 'L', 'Z', '8923', 'o', 'L', 'X', 'o', 'P', '631', 'h', '7213', 'h', 'M', 'f', 9343, 7669, 'm', 5867, 9967, 'W', 'N', 6223, 8409, 'a', 'U', 'c', 4719, 8901, 281, 4361, 'c', 9271]