In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 111, 'l', 'x', 1815, '4019', '4217', '5015', '1269', '9513', 'y', 'S'], ['s', 4615, 'y', '4019', '4217', '5015', '1269', '9513', 'Q', 'd']