In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1735, 9917, 655, 'u', 3179, 4355, 'L', 'S', 'D', 8451, 'P', 's', 6063, 7275, 'S', '3207', '523', 'j', '573', 'Z', '6881', '2235', 'Q', '9599', 'G', '1563', '3629', 's', 'D', '9931', 'k', '2453', '2917', 'n', 'K', 'v', 'p', 5095, 4177, 'r', 7793, 'T', 'r', 'Y', 'Q', 'N', 'd', 4235, 'a', 5843, 3749, 'l'], ['p', 2687, 'A', 8711, 't', 'Q', 'a', 7279, 4505, 3599, 'o', 8205, 'B', 4403, 'A', 5009, 1291, 'I', '3207', '523', 'j', '573', 'Z', '6881', '2235', 'Q', '9599', 'G', '1563', '3629', 's', 'D', '9931', 'k', '2453', '2917', 'n', 'K', 'v', 'Y', 9677, 8449, 'I', 9607, 7425, 1855, 'l']