In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 8045, 9553, 513, 'J', 'N', 6243, 'j', 'X', 1655, 477, 8659, 1909, 7643, 'q', 'F', 'N', 4295, 9835, 'R', 'D', 'q', 8605, 'b', 2259, 'O', '9529', 'y', 's', '4615', 'w', 'C', 'o', 'S', 't', '1661', 'f', 'Y', 'v', '7367', 'J', 'N', 'D', '9641', 'c', 'a', 'W', 'q', 'f', '1765', 'L', 'J', '2809', 'D', 'Q', 'e', 3103, 'W', 'y', 'b', 'W', 'r'], [3905, 'n', 'h', 2507, 'X', 'O', '9529', 'y', 's', '4615', 'w', 'C', 'o', 'S', 't', '1661', 'f', 'Y', 'v', '7367', 'J', 'N', 'D', '9641', 'c', 'a', 'W', 'q', 'f', '1765', 'L', 'J', '2809', 'j', 'y', 3397, 'O', 'G', 1689, 'u', 'O', 4235, 8309, 7527, 2131, 9715, 'U', 'P', 's', 6667, 'W']