In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 'T', 'D', 'j', 'g', 'w', 'n', 'D', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'v', 693, 'f', 'J', 'f', 10007, 'o', 863, 'o', 'Z', 'd', 'Q'], [8181, 693, 's', 'V', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'w', 4477, 'd', 1717, 525, 7147, 'g', 6803, 'j', 8033, 'Y', 't', 5059, 4371]