In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 'Y', 'e', 'q', 'R', 'M', 5905, 'P', 'u', '9649', '6123', 'A', '6589', 'Y', 'g', '4687', 'e', '8869', '1291', 'E', 'L', 'l', 8395, 'z', 'S', 'E', 2151, 3723, 8997], [3429, 7107, 'N', 'I', '9649', '6123', 'A', '6589', 'Y', 'g', '4687', 'e', '8869', '1291', 'I', 'Z', 'w', 3365, 4021, 'Y', 5259, 'c', 4841]