In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 'K', 6217, 'o', 'n', 2149, '1373', '4119', 'Z', '3501', 's', '4113', '4615', 'D', '6719', '2001', '7045', 'J', 'm', 'q', 'x', 'b', '1205', 'o', '9609', 'j', 'Y', 'S', 'A', '1591', '5011', 'd', '8707', '8923', 'k', 481, 7915, 9651, 7923, 2611, 4701, 5313, 'r'], [8207, 'Y', 3741, 'G', 'S', 2065, 'N', '1373', '4119', 'Z', '3501', 's', '4113', '4615', 'D', '6719', '2001', '7045', 'J', 'm', 'q', 'x', 'b', '1205', 'o', '9609', 'j', 'Y', 'S', 'A', '1591', '5011', 'd', '8707', '8923', 'U', 'U', 5811]