In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 5059, 'N', 'C', '7479', 'e', '7721', 'Y', '9475', '3547', 'S', 'w', 'F', 'G', 'W', '2413', '7729', 'F', 'W', 'v', 'Z', 5249, 1991, 151, 'A', 'q', 2325], [3791, 4439, 4489, '7479', 'e', '7721', 'Y', '9475', '3547', 'S', 'w', 'F', 'G', 'W', '2413', '7729', 'F', 'W', 'v', 'A', 's', 7285, 'Q', 'U', 7627, 'k', 'S', 963, 5399, 9393, 'j', 193, 4311]