In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5667, 7275, 'x', '5405', 'h', 'r', 'F', 'T', 2039], ['s', 'H', 129, 'x', '5405', 'h', 'r', 'Q', 'O', 8107]