In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4371, 779, 735, 7127, 'W', 'G', 8727, 583, 5785, 'c', 4807, 'E', '9061', '5013', '319', 'U', '21', 'q', 'L', '3175', 'S', 'Y', '1743', 'e', 'K', '3143', 'A', 'H', '3005', '7361', '9641', 'V', 'N', '7301', '6429', 'T', 6753, 4861, 'c', 4323, 's', 2379, 'F', 'g', 9451, 'Q', 'q'], [8973, 'H', 'H', 1785, '9061', '5013', '319', 'U', '21', 'q', 'L', '3175', 'S', 'Y', '1743', 'e', 'K', '3143', 'A', 'H', '3005', '7361', '9641', 'V', 'N', '7301', '6429', 'C', 8647, 'I', 't', 4557, 6151, 'm', 'N', 6485, 35, 5059, 6271]