In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1667, 'F', 'r', 743, 1977, 's', 'W', 'k', '4649', '4699', 'K', '423', 'Q', 'G', '3929', '3379', 'D', '1563', 'N', '7831', '1279', '6955', '4249', 'P', '4371', 'T', '3631', '4985', 'N', 4311, 'u', 'S', 'n', 4863], ['U', 'P', 'o', 1289, 5881, 'q', 'b', 773, 7027, 'J', '4649', '4699', 'K', '423', 'Q', 'G', '3929', '3379', 'D', '1563', 'N', '7831', '1279', '6955', '4249', 'P', '4371', 'T', '3631', '4985', 'I', 'L', 1531, 6155, 2389, 'K', 'j', 'K', 'F', 'e', 3791, 7433]