In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 435, 311, 'i', 'y', 'O', 5487, 5927, 'o', 1083, 'K', 281, 6839, 4789, 'b', '7205', 'X', 'U', 'A', 'P', 'b', '2671', 'r', '6135', '6849', '2229', 'K', '8031', '8169', '3341', 'n', '1205', '7085', '255', 'G', 7163, 4809, 2331, 'g', 'M', 5149, 6939, 6039, 2889, 'R', 7119, 'p', 'A', 'D', 'f'], [1987, 4011, 'b', '7205', 'X', 'U', 'A', 'P', 'b', '2671', 'r', '6135', '6849', '2229', 'K', '8031', '8169', '3341', 'n', '1205', '7085', '255', 'l', 8253]