In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 'H', 'L', '333', 'O', '7849', '1047', 'J', 'K', 'Y', 'f', 'N', '5189', 'g', '5243', 'W', 'Z', 'd', '2577', '8347', 'x', 'P', 'f', 'n', 'n', 4705], ['R', 5045, 4813, 'R', 'L', 'Y', 'b', 5891, 9241, '333', 'O', '7849', '1047', 'J', 'K', 'Y', 'f', 'N', '5189', 'g', '5243', 'W', 'Z', 'd', '2577', '8347', 'x', 'v', 'Y', 'e', 2999]