In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 'j', 'P', 6307, 'u', 7295, 'v', 'z', 'x', 'N', 'r', 'v', 'a', 'U', 27, 9407, 'Z', 'G', 8441, 2631, 'E', 'R', '5241', '4435', '4801', '6273', '715', 'A', 's', 'v', 'r', '5655', 'X', '2447', '9779', '1663', 'A', 'N', '6087', '5267', 'A', '571', '3759', '2077', 'V', 5063, 2029, 'B', 'n', 591], ['n', 'W', 477, 'p', 7097, 5013, 'h', 5563, 'D', '5241', '4435', '4801', '6273', '715', 'A', 's', 'v', 'r', '5655', 'X', '2447', '9779', '1663', 'A', 'N', '6087', '5267', 'A', '571', '3759', '2077', 'T', 'r', 3435, 7761]