In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8311, 'k', 'u', '3851', 'v', '3659', 'C', '6825', 'P', 9755], [9613, 9597, 799, 3793, 2441, 'u', '3851', 'v', '3659', 'C', '6825', 'e', 7219, 'w', 'W', 3709, 9517]