In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8909, 'F', 'G', 'H', 'S', 5937, 3911, 'O', 'y', '1485', 'y', 'C', '1313', '429', '9215', '769', 'I', 'z', '1197', 'U', 9885, 'w', 'e', 'T'], ['S', 'A', 'O', 'y', '1485', 'y', 'C', '1313', '429', '9215', '769', 'I', 'z', '1197', 'S', 3769, 1835, 'r', 2109]