In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7671, 'U', 4215, 6051, 4033, 's', 'L', '6339', 'M', 'P', 'a', '8721', 'i', 3237, 'k', 895, 'L'], ['o', 9081, 6601, 't', 'L', '6339', 'M', 'P', 'a', '8721', 'Z', 'N', 'D', 6399, 1379]