In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8593, 'F', 1303, 'I', 9549, '6475', 'Q', 'h', '6521', 'I', 'W', 'q', '7351', 'J', 'Q', 'E', 'G', 7851], ['A', 'k', 3891, 'P', 9057, 'y', 2475, '6475', 'Q', 'h', '6521', 'I', 'W', 'q', '7351', 'F', 'v', 'j', 'K']