In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1373, 8027, 8599, 1301, 5211, 'G', 'Q', 'C', 'z', 'Z', 2325, 7185, '1267', '6769', '3573', 'G', 'C', 'M', '1069', '7897', 'd', '7839', 'B', '4227', '4411', '9749', '3093', '8105', 'c', 'z', 3219, 'K', 'n', 5921], ['U', 'G', '1267', '6769', '3573', 'G', 'C', 'M', '1069', '7897', 'd', '7839', 'B', '4227', '4411', '9749', '3093', '8105', 'c', 'X', 'X']