In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1145, 3731, 'Z', 9351, 'P', 'N', 'r', '6895', '8055', '3403', '973', '1873', '9099', 'k', 'j', '1539', '4947', '9247', '3389', 'G', 'e', '113', 'o', 'K', '2925', 'R', '9467', 'z', 'Q', 9789, 5027, 'g', 'O', 'y', 2055, 3037, 2307], ['Z', 7607, 'B', 'J', 'N', 'r', '6895', '8055', '3403', '973', '1873', '9099', 'k', 'j', '1539', '4947', '9247', '3389', 'G', 'e', '113', 'o', 'K', '2925', 'R', '9467', 'E', 675, 'N', 8463, 'k', 6109, 1975, 'p', 'D', 6145, 1457, 'N', 'f', 't', 7627, 'B', 'r', 'S', 1241]