In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5481, 7871, 2291, 'g', 'y', '5705', 'O', '183', 'o', '4553', 'P', 'd', 'I', '7079', '745', 'K', 'q', 's', 'E'], [3827, 987, 'u', 1839, 'P', 'g', 'y', '5705', 'O', '183', 'o', '4553', 'P', 'd', 'I', '7079', '745', 'K', 'q', 'K', 'r', 245, 3141, 'k', 8651, 'L']