In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 'B', 'h', 'y', '3481', 'b', 'B', 'Y', 6857, 3143], ['i', 'n', 8463, 'h', 'y', '3481', 'b', 'N', 367, 'o']