In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5451, 'N', 8539, 6279, 'z', '5009', 'M', '5813', '4539', 'v', 'O', 'e', 'q', 'h'], [6427, 1779, '5009', 'M', '5813', '4539', 'v', 'O', 'e', 'r', 'H', 't']