In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 'N', 'G', 2945, 6261, '2573', 'J', '4213', '5293', 'n', '9005', '9399', 'P', 'l', 'L', 5947, 'U', 6405, 5309, 3297, 8293, 'P', 'Q'], ['Q', 'b', 'Z', 9813, 5335, 9211, 'f', 'T', '2573', 'J', '4213', '5293', 'n', '9005', '9399', 'P', 'l', 'H', 1245]