In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[363, 6017, 'F', 2411, 'H', 'x', 'v', 8345, 'h', 10013, 2043, 'A', 'v', 'P', 5817, 447, 'N', 'r', '443', '9999', '4355', 'k', '3017', '6297', 'm', '5635', '8363', '4247', '3603', '189', 'C', 'Q', 'x', 'm', '6117', '8651', 'o', '1727', 's', 'a', '2961', '5957', '3853', 'l', 'h', 'h', 'i', 2509], ['S', 7611, 'Y', 5213, 'c', 'I', 'N', 'T', 9959, 4345, 9925, 'Q', 5119, 119, 5427, 'e', 6805, 'K', 7981, 'N', 'r', '443', '9999', '4355', 'k', '3017', '6297', 'm', '5635', '8363', '4247', '3603', '189', 'C', 'Q', 'x', 'm', '6117', '8651', 'o', '1727', 's', 'a', '2961', '5957', '3853', 'l', 'h', 'h', 'S', 'I', 2333, 193, 7627, 867, 'D', 7773, 'T', 'L', 7487, 6195, 2171, 'z', 789, 'H', 'u', 2437, 5053, 'B', 7685, 'j', 'c', 9145, 'p', 'i', 9909, 9507]