In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9339, 'h', 2957, 'Z', '7187', 'l', 'u', '9537', 'l', 6029, 3679, 6663], ['O', 4101, 'B', '7187', 'l', 'u', '9537', 'Q', 9099, 'U']