In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'U', 't', 'o', 's', '1003', 'U', '4383', 'z', 'r', 'F', '8631', 'q', 'k', 'k', 'w', 'q', 8377, 4883, 7067, 'R'], [777, 3291, 'W', 'g', 'o', 's', '1003', 'U', '4383', 'z', 'r', 'F', '8631', 'n', 'M', 9951, 'o', 'K', 7995]