In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Q: ['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']

A: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707
****
Q: ['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]

A: U, e, 1183, 9537, K, e, p
****
Q: [8675, 'Y', 2977, 2491, 3311, 3899, 'p', 'M', 917, '9697', '3537', '6387', '2661', '6633', 'O', '3887', 'H', 'j', '3719', 'K', '1303', 'R', 'e', '9099', 'B', 'd', 'Z', '8549', 'v', '6985', '6915', '7389', 'g', '2809', '5447', 'l', '5385', '7399', 'P', 3561, 'W', 1809, 2783, 'm', 6661, 'i', 2759, 5595, 9393, 'D', 8939], ['Z', 'A', 795, 8399, 'm', 9193, 5553, 2695, 7451, 'T', 'a', 'h', 7197, 'P', 1805, 'm', '9697', '3537', '6387', '2661', '6633', 'O', '3887', 'H', 'j', '3719', 'K', '1303', 'R', 'e', '9099', 'B', 'd', 'Z', '8549', 'v', '6985', '6915', '7389', 'g', '2809', '5447', 'l', '5385', '7399', 'B', 6185, 1027, 7343, 7335, 4263, 'F', 3095, 'f', 'R', 9905, 1065, 'U', 'S', 4691, 'K', 6785, 'g']

A:
9697, 3537, 6387, 2661, 6633, O, 3887, H, j, 3719, K, 1303, R, e, 9099, B, d, Z, 8549, v, 6985, 6915, 7389, g, 2809, 5447, l, 5385, 7399
****