In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[173, 'Q', 'Q', 'Q', '8967', '4517', 'w', '9893', '2839', 'z', '5423', '2659', 'D', '6705', 'm', 'M', '1587', 'l', 'u', 4615, 777], [2957, 'x', 9119, 'V', 9279, 'P', 'F', 1141, 'u', 4207, 'Q', '8967', '4517', 'w', '9893', '2839', 'z', '5423', '2659', 'D', '6705', 'm', 'M', '1587', 'l', 'c', 1771, 6271]