In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 2675, 'N', 'e', 'X', 'g', 'Z', 'z', '853', '9453', '3525', 'Z', 'Z', '7403', 'z', 'A', 7191, 'k', 'm', 'R', 3007, 5827], ['G', 'J', 'y', 'A', 3879, 1507, 5089, 'T', 'e', 'X', 'g', 'Z', 'z', '853', '9453', '3525', 'Z', 'Z', '7403', 'n', 'Z', 'b', 'k', 5631, 'c', 'x']