In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6311, 2171, 'J', 3979, 5159, 7479, 405, 8851, 3589, 'y', 'A', 6785, 9311, 'P', 's', '1233', 'o', '9577', '4997', '745', '5577', 'M', 'J', '4317', '1597', '2173', '7555', 'X', 'l', '4671', '3813', '2195', '5681', '3219', 'q', 'O', 5545, 'b', 'u', 'G'], [4769, 'g', 843, 8207, 701, 'b', 'f', 'H', 'u', 'G', 9523, '1233', 'o', '9577', '4997', '745', '5577', 'M', 'J', '4317', '1597', '2173', '7555', 'X', 'l', '4671', '3813', '2195', '5681', '3219', 'q', 'U', 'z', 8913, 5455, 'N', 'T', 'B', 7177, 8315, 'j', 8917, 'S', 'K', 'V', 9241, 3875, 'L', 7401, 9635]