In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['I', 'H', 7347, 'O', 'F', 'p', '7353', 'f', 'G', 'g', 'J'], ['d', 'U', 'n', 'O', 'F', 'p', '7353', 's', 5825, 6309]