In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['P', 'X', 9415, 'U', 1747, 'E', 'D', '1311', 'F', '3097', 'k', '3229', '389', '1469', '603', 'g', '217', 'N', '8273', 'o', 'K', '4461', '35', 't', 'x', '6701', 'p', 'O', '5949', '6323', '8621', 'E', 'U', 'O', 'X'], [4127, 'D', 'F', 'N', 'W', 9325, 9959, 'm', 'Y', 4349, 1597, 'G', 7435, 3031, 1867, 't', 6847, 'D', '1311', 'F', '3097', 'k', '3229', '389', '1469', '603', 'g', '217', 'N', '8273', 'o', 'K', '4461', '35', 't', 'x', '6701', 'p', 'O', '5949', '6323', '8621', 'E', 'U', 'Y', 1053, 'm', 6051, 'J', 3415, 'n', 9787, 'a', 'H', 'l', 'T', 'B', 's', 4727, 'F', 795, 'A', 5957, 2489]
A:
D, 1311, F, 3097, k, 3229, 389, 1469, 603, g, 217, N, 8273, o, K, 4461, 35, t, x, 6701, p, O, 5949, 6323, 8621, E, U