In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1199, 'S', 5931, 'j', 8935, 1067, 'D', 9697, 'a', 3187, 3201, 2697, 'E', 'l', 8363, 4521, 's', 'f', 'p', 'y', 'j', '1427', 'w', '1993', '6815', '3187', '7985', 'Q', '5967', '2575', '2711', 'T', 'o', '5949', '7557', 'g', 'W', 'P', 'v', 'y', 1073, 'k', 'a', 8789, 'g', 'g', 'i', 3529, 4945, 2109, 'V', 9837, 3913, 'N', 409], [9097, 'D', 137, 's', 'f', 'p', 'y', 'j', '1427', 'w', '1993', '6815', '3187', '7985', 'Q', '5967', '2575', '2711', 'T', 'o', '5949', '7557', 'g', 'm', 2793, 'i', 4803, 'I', 'i', 'C', 1941, 'z', 'Z', 5205, 1897]