In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 2485, 2845, 'Q', 'o', '2499', 'G', 'b', '2569', 'x', '3343', 'y', '2835', 'X', 'E', '6521', '1713', '113', '3805', '5975', '6393', 'g', 'A', 'd', 'd', '4589', 'K', '1407', 'h', 9789, 5165, 4011, 4479, 'O', 9791, 329, 'U', 5075, 759, 'E', 85, 9577, 'j', 'Z', 1469, 3757, 4681, 'A', 'R', 'z', 8293], ['G', 'P', 7413, 'E', 3151, 9449, 1339, 'f', 'v', 7699, 9921, 'b', 2479, 4053, 'J', 7233, 'l', 'G', 8423, 'O', 3997, 'o', '2499', 'G', 'b', '2569', 'x', '3343', 'y', '2835', 'X', 'E', '6521', '1713', '113', '3805', '5975', '6393', 'g', 'A', 'd', 'd', '4589', 'K', '1407', 'p', 2679, 'e']