In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1105, 'Y', 9311, '9381', 'T', '9759', 'x', 5421, 8907], ['Y', 't', 2135, '9381', 'T', '9759', 'a', 4761]