In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 329, 'B', 'D', 'n', 'g', 9239, 5001, 6981, 'A', '271', '9311', '3911', '5837', '3133', 'L', '3303', '2583', 't', '9007', 'G', 'm', 'm', '7647', 'g', 'Y', '7791', '1575', '9991', '8667', 'E', 'r'], ['j', 6861, 7911, 'Z', 'e', 'N', 5923, 8761, 'A', '271', '9311', '3911', '5837', '3133', 'L', '3303', '2583', 't', '9007', 'G', 'm', 'm', '7647', 'g', 'Y', '7791', '1575', '9991', '8667', 'T', 9963, 'I', 'l', 4959, 6061, 's', 8595]