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

[Q]: [5705, 4661, 4953, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'W', 'a', 'R', 6843, 'D'], ['i', 475, 3657, 'k', 'P', 3397, 7147, 8055, 8965, 'X', 'g', 5421, 'e', 6979, 'P', 'G', 'c', 489, 9409, 9473, 'y', 6959, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'h', 'c', 'g', 'C', 4493, 'R', 6359, 3315, 8949]
[A]: 6779, z, I, f, m, 3721, U, F, 2069, 1831, H, 2683, 139, 3889, 1427, 3339, T, 9517, 9753, 9041, 7995, 8657, q, 4753, 2789, C, a


[Q]: [4839, 2307, '5609', 'V', 's', '7059', 'N', '3761', 'i', '161', '1987', 'N', 'J', 'h', 'k', 'P'], [2615, 't', 5171, 'V', 'q', '5609', 'V', 's', '7059', 'N', '3761', 'i', '161', '1987', 'N', 'p', 5261, 3251]
[A]: 5609, V, s, 7059, N, 3761, i, 161, 1987, N


[Q]: [8381, 9129, 9869, 'Z', 'W', 5951, 'N', 'Q', '5137', 'T', '9679', 'N', '9191', 'M', '9505', 'Z', '5825', 'd', '2561', '8959', 'm', '1111', '7793', 'v', 'P', '5257', 'z', 'C', '5531', 'x', '3311', '7041', 'H', '213', 'R', 'E', 'q', 8447, 5033, 6473, 8641, 5715, 'A', 'm', 'F', 9731, 'a', 4259, 'b', 'A', 9735, 'S'], [3967, 3467, 3659, 'm', 1975, 773, 'b', 'L', 'v', 3987, 'D', 9369, 5911, 'L', 2929, 'w', 1635, 4393, 'K', 7309, 2469, 4075, 'a', 2571, '5137', 'T', '9679', 'N', '9191', 'M', '9505', 'Z', '5825', 'd', '2561', '8959', 'm', '1111', '7793', 'v', 'P', '5257', 'z', 'C', '5531', 'x', '3311', '7041', 'H', '213', 'R', 'L', 5847, 2581]
[A]:
5137, T, 9679, N, 9191, M, 9505, Z, 5825, d, 2561, 8959, m, 1111, 7793, v, P, 5257, z, C, 5531, x, 3311, 7041, H, 213, R