In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 'K', 'K', 831, 7039, 6393, 3949, 4565, 'B', 'V', 5713, 8133, 5931, 'l', 9897, 'R', 's', 'p', 2025, 8967, '5331', '5893', 'J', '4873', 'q', '7661', '373', '687', 'm', 'Q', 'w', 'o', '1535', '4357', 'R', 'f', 'h', 'L', 'f', 'R', 'P', '301', 'N', 5445, 'm', 'w', 7321], [1477, 'D', 8351, 4141, 'v', '5331', '5893', 'J', '4873', 'q', '7661', '373', '687', 'm', 'Q', 'w', 'o', '1535', '4357', 'R', 'f', 'h', 'L', 'f', 'R', 'P', '301', 'j', 331, 'N', 'K', 6171, 3731, 'G', 'W', 'I', 'q', 8661, 7391]