In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 'A', 8967, 7363, '4799', '4955', 'z', '6267', '491', 'y', 'v', '4601', '461', 'h', '5033', 'E', '1109', 'r', 'T', '8127', 'V', 5175, 'r', 'E', 'd', 6597, 639, 'i', 'C', 'y', 'L', 3511, 'X'], [355, 9349, 2691, 3515, '4799', '4955', 'z', '6267', '491', 'y', 'v', '4601', '461', 'h', '5033', 'E', '1109', 'r', 'T', '8127', 'S', 1733, 'Y']