In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3021, 'I', 9383, 7981, 8435, 'G', 'u', '8667', '6003', 'z', 'r', 'D', 'O', 'Q', '3947', '5241', '3615', '4749', '771', 'b', 143, 'I', 'o', 5389, 'j', 'b', 619, 'p', 8427, 'Q', 'r', 'n'], ['J', 'v', 575, 6039, 5847, 'P', 'W', 3595, 'G', 'u', '8667', '6003', 'z', 'r', 'D', 'O', 'Q', '3947', '5241', '3615', '4749', '771', 'o', 'G', 'U', 10007, 6271, 'M', 'J', 6597, 'o', 'T', 6221, 'm']