In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 'r', 'r', 791, 'x', 91, '5881', '8971', 'e', '411', 'a', '5247', 'z', 'z', '5849', '5399', '1735', '669', 't', '7207', '9109', '9429', '3091', 'G', 'X', 6289, 'j', 'M', 'p', 'Q', 2255, 'E', 6265, 'B', 'i', 'v'], ['T', 'E', 5485, 'N', 'V', 1133, 'K', 7125, '5881', '8971', 'e', '411', 'a', '5247', 'z', 'z', '5849', '5399', '1735', '669', 't', '7207', '9109', '9429', '3091', 'J', 8567, 'i', 'Z']