In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 'V', 4461, 'V', 985, 'H', 5769, 9393, 'R', 1165, 3489, '1047', '1705', 'c', 'g', '763', '7079', 'o', 'W', 'v', '5687', 'V', 'T', '4343', '4253', '8549', 'S', '5', 'W', 'M', 'Y', '5487', 'F', 'j', 493, 271, 3059], ['h', 2385, 'f', 6409, 9991, 'Q', '1047', '1705', 'c', 'g', '763', '7079', 'o', 'W', 'v', '5687', 'V', 'T', '4343', '4253', '8549', 'S', '5', 'W', 'M', 'Y', '5487', 'y', 529, 3725, 'I', 'u', 7069, 'h', 6647]