In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[461, 'c', 'z', 'V', 'm', 'C', 'G', 'j', 'W', 'a', '5907', '3801', 'i', 'i', '2859', '3695', '9243', '2551', 'n', '3395', '3387', '1935', 'C', 8063, 'p'], [6097, 5301, 'H', 'w', 'L', 6545, 'v', 9721, 'j', 'W', 'a', '5907', '3801', 'i', 'i', '2859', '3695', '9243', '2551', 'n', '3395', '3387', '1935', 'Y', 2939, 5187, 5887, 'f', 'u', 'd', 3885, 'r']