In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8731, 'b', 9565, '3855', '2617', 's', 'Z', '881', 'v', 7707, 4937], ['y', 'o', 'Q', 8259, 3555, '3855', '2617', 's', 'Z', '881', 'Q', 's']