In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 6913, '5225', 'R', '8467', '5189', 'l', 'b', 'a', 'Q'], ['K', 'h', '5225', 'R', '8467', '5189', 'l', 'b', 'U', 'C', 'R']