In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9195, 's', 8485, 'd', 'w', 6437, 'a', 7841, 8103, 'L', 'n', 'R', '2915', 'Q', 'U', 'x', '5513', 'b', '8577', 'X', '2187', 'U', '3001', 'o', 'q', 'm', 'D', 'k', 2979, 'S', 'l', 'l', 'A', 5351, 4355], ['d', 2857, 'I', 's', 'A', 5673, 'R', '2915', 'Q', 'U', 'x', '5513', 'b', '8577', 'X', '2187', 'U', '3001', 'o', 'J', 17]