In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'c', 8695, 'n', 'Z', 'F', 'T', 'v', 'X', 's', 'y', 'S', 'r', 'e', 1621], ['P', 'r', 8017, 'n', 'Z', 'F', 'T', 'v', 'X', 't', 'r', 3357, 'M', 4227]