In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8061, 'K', 3127, '2547', 'Z', 'L', 'b', '6137', 'L', '4287', 'N', 'Q', '1391', 'U', 'V', '3473', 'r', '3729', '691', 'e', 2145], ['r', 9921, 5539, 8871, '2547', 'Z', 'L', 'b', '6137', 'L', '4287', 'N', 'Q', '1391', 'U', 'V', '3473', 'r', '3729', '691', 'Y', 7363, 2743, 'P', 'O', 'y', 'B', 1427]