In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6605, 'r', '9539', 'S', '8793', '9929', 'D', 3233], ['z', 'D', 773, '9539', 'S', '8793', '9929', 'U', 'W', 9845, 'Y']