In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8187, 5241, 5475, 5295, 'o', '1571', 'Q', '6359', '6305', 'E', 'w', 'Y', 'L', 'u', 4133], ['W', 909, 7065, 'U', 'j', 'o', '1571', 'Q', '6359', '6305', 'E', 'w', 'Y', 'L', 'C', 'Q', 'J', 's', 4775, 'M']