Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [8747, 9693, 'W', 4169, 'N', 'm', 823, 'Y', 'p', 'B', 'U', 2619, 7059, 'A', '1085', '5389', 'J', '4529', 'z', '8949', '4659', 'V', '3209', 't', 'W', 'F', '3311', '8255', '5767', '8799', '597', 'M', '2993', 'r', 'h', 'c', 'X', 's', '7513', '1773', '7411', 'z', 'W', 'm', 'b', 2521, 'I', 'E', 'H', 8315, 4621, 'A', 'W', 7163, 'A', 'g', 9817, 'i', 'e', 'z', 'o', 6869], [6791, 4473, 'Y', 'I', 'a', 'k', 'k', 3675, 'P', 'l', 'h', 'q', 'e', 'K', 'y', 4977, 6719, 'L', 's', 4293, 1651, 'x', 'O', 3251, 3601, 2989, 'A', '1085', '5389', 'J', '4529', 'z', '8949', '4659', 'V', '3209', 't', 'W', 'F', '3311', '8255', '5767', '8799', '597', 'M', '2993', 'r', 'h', 'c', 'X', 's', '7513', '1773', '7411', 'z', 'q', 9219, 'O', 'l', 3131, 5597, 'W', 5097, 'S', 7521]
A:
A, 1085, 5389, J, 4529, z, 8949, 4659, V, 3209, t, W, F, 3311, 8255, 5767, 8799, 597, M, 2993, r, h, c, X, s, 7513, 1773, 7411, z