In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 'w', 6243, 'x', '7213', 'b', '6025', 'L', 'u', '6357', 'P', '9121', '9109', '3303', '1301', 'p', 'X', 6137, 3159, 4903, 4811, 979, 711, 6365, 3369, 'w', 139], ['B', 7113, 'x', '7213', 'b', '6025', 'L', 'u', '6357', 'P', '9121', '9109', '3303', '1301', 'p', 'i', 5431, 2125, 'z']