In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1481, 8901, 535, 'D', 'I', 2801, 'E', 8077, 'S', '3233', '2841', 'C', 'Y', '5977', 'u', '3563', '1431', '777', 'z', 'L', 'O', 6951, 'q', 'S', 'D', 9231], ['i', 'y', 'w', 'y', 'I', 'S', '3233', '2841', 'C', 'Y', '5977', 'u', '3563', '1431', '777', 'z', 'F', 1991]