In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 9171, 5053, 5369, 'M', 's', '1749', '9611', '6727', '6359', 'j', '5905', '3847', '9623', 'o', '5535', '9185', 'y', 'r', 's', '5531', 'C', '7577', 'w', '357', 'Y', 'd', 'c', 7791, 8781, 1395, 7219], ['D', 4233, 'L', 'Y', 1963, 6691, 'b', 'w', 9929, 'P', 555, 's', '1749', '9611', '6727', '6359', 'j', '5905', '3847', '9623', 'o', '5535', '9185', 'y', 'r', 's', '5531', 'C', '7577', 'w', '357', 't', 'B']