In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 957, 4075, 6385, 'y', 'D', 'X', 4831, 9337, 'E', 'N', 'I', '5869', 'X', '4653', '3707', 'F', 'y', '9107', '5087', 't', 'f', 'U', 'q', 4833, 1175, 9571, 7243, 9543], ['Q', 'D', 'N', 'I', '5869', 'X', '4653', '3707', 'F', 'y', '9107', '5087', 'D', 'G', 'P', 9083, 'Z', 'x', 1317]