In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 9405, '5037', '1751', 'l', '8791', '5147', '5717', 'a', 'K', 'g', 1183, 8557, 3055, 8475, 1517], ['Q', 7951, 'k', 3741, 'x', 3325, 'p', '5037', '1751', 'l', '8791', '5147', '5717', 'a', 'K', 's', 'b']