In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4887, 6153, 'x', 's', 9871, 'K', 'a', 'i', '5021', 'R', '3649', '2839', '3983', '19', '4203', '8833', '6845', 'F', 'P', '2437', 'Q', '5525', '1011', 'c', '9215', '3123', '4993', 'N', '3263', 'e', 'K', 'W', 'm', 's', 'O', 'd', 7089, 'q', 'm', 3637, 7099, 'P', 7695, 'n', 7649, 449, 'h', 'S'], ['K', 'l', '5021', 'R', '3649', '2839', '3983', '19', '4203', '8833', '6845', 'F', 'P', '2437', 'Q', '5525', '1011', 'c', '9215', '3123', '4993', 'N', '3263', 'e', 'K', 'W', 'm', 'x', 'U', 3659, 6841, 3667, 1191, 'p', 7189, 'A', 'y', 'Z', 4583, 'g', 1807, 'N']