In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']