In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 'P', 'u', 'J', 3115, 'm', 'X', 9835, 'y', 339, 'k', 'y', 'f', 'G', '1541', 'C', 'L', 'k', '577', 'k', 'r', '8129', '1013', 'u', 'Z', 5357, 'P', 3785, 'u', 'i', 3861, 'V', 9353, 7703, 'a', 'A'], [8107, 'G', 'e', 'a', 'R', 'W', 7227, 6477, 'f', 'G', '1541', 'C', 'L', 'k', '577', 'k', 'r', '8129', '1013', 'u', 'F', 1515, 89, 8497, 5339, 'v', 6225, 1055, 'y', 'S']