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

Q: [7217, 5633, 8727, 'l', 's', 'u', 'T', 'F', 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'J', 7151, 'J', 1523, 'p', 369, 8817, 'N', 'B', 1305, 1271, 1349, 3329, 1437, 'p'], [595, 7009, 'f', 463, 'B', 'V', 7397, 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'Y', 'x', 7741, 4563, 'O', 'l', 'D', 'U', 5221]

A: n, L, G, K, S, 523, 9835, 1331, 7069, 9089, z, 8111, C, 7653, P
****
Q: [7849, 813, 1309, 3749, '10001', 'g', '1057', 'c', 't', 't', 'i', 2269, 'M', 'q', 373], ['d', 4077, 3209, 'g', 5643, '10001', 'g', '1057', 'c', 't', 't', 'h', 'Y', 8349, 'q', 3939, 1333]

A: 10001, g, 1057, c, t, t
****
Q: ['O', 'l', 'X', '8789', 'b', 'P', 'm', 9113, 7447, 9093], [9591, 3807, 'X', 'X', '8789', 'b', 'P', 'C', 8145]

A:
X, 8789, b, P
****