In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 'z', 5299, 'w', 3171, '1543', 'f', 'r', '7521', '4511', '1803', '1075', 'D', '7499', '3803', '2899', 'E', '2635', 'G', 'K', 'V', 'F', 1375, 8395, 1699, 'X', 6889, 'C', 'z', 457, 4875, 5783, 6393, 'm', 6273], ['G', 'b', 4559, '1543', 'f', 'r', '7521', '4511', '1803', '1075', 'D', '7499', '3803', '2899', 'E', '2635', 'G', 'K', 'M', 'Z', 959, 1693, 1339, 'z', 8787, 5323, 'I', 'v', 633, 'X', 'j', 989]