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

[Q]: [6233, 489, 6117, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'Q', 4171], ['G', 9467, 331, 9967, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'o', 'a', 'P', 'a', 'C', 'N', 'R', 'l', 'l', 'j', 'N', 8161, 3729, 'F', 'r', 'B']
[A]: 5201, J, A, 3023, W, 791, 8263, m, w, q, 8873, B, 4945, 25, v, 6679, 3217, Q, 9509, V

[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]: ['S', 'Q', 'G', 'H', 'v', '6247', 'n', 'W', '9609', '4901', 'M', 6973, 'C', 6827, 'l', 9169], [7211, 'F', 's', 1487, 'G', 'H', 'v', '6247', 'n', 'W', '9609', '4901', 't', 27, 'H', 2817, 6249, 'c', 545, 6093]
[A]:
G, H, v, 6247, n, W, 9609, 4901