In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 't', 'd', 'P', 's', 'J', 2681, 'I', '7319', '2853', '7807', 'Y', 'd', '1821', 'F', '7911', 'r', 'P', 'n', 'S', 7043, 5811, 7831], ['n', 'q', 2625, 10003, 'I', 'q', 'I', '7319', '2853', '7807', 'Y', 'd', '1821', 'F', '7911', 'D', 'I', 6991, 35, 8731, 5465]