In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [1399, 6703, 9223, 779, 8033, 5437, 'u', 'Z', 'w', '999', 'O', 'l', '3881', '1493', '8005', '9567', '1545', 'c', '929', '3265', 'f', 'G', 'N', 'Q', '2247', '3111', '2489', '5301', 'H', 'X', 4491, 'X', 815, 6221, 2705, 6639, 6987, 'U', 'U', 'I', 'n', 2185, 7397, 9015, 507], [4573, 'S', 9791, 4961, 'j', 7769, 'U', 151, 'Y', 4407, 8969, 5169, 'W', 4031, 'z', 'Z', 'w', '999', 'O', 'l', '3881', '1493', '8005', '9567', '1545', 'c', '929', '3265', 'f', 'G', 'N', 'Q', '2247', '3111', '2489', '5301', 'H', 'F', 'L', 7001, 931]
A: 
Z, w, 999, O, l, 3881, 1493, 8005, 9567, 1545, c, 929, 3265, f, G, N, Q, 2247, 3111, 2489, 5301, H