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

Q: ['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]

A: r, l, N, J, 7029, l, m
****
Q: ['i', 4077, 'Z', 6231, 2337, 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'd', 1355, 'n'], [505, 'A', 8789, 75, 'q', 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'e', 'r', 'I', 'm', 1525, 3577]

A: h, 1181, 1631, 2605, 587, 1477, 2707, R, O
****
Q: ['l', 5215, 'Y', 6321, 1521, 2849, 8549, 5243, 5669, 'X', 6901, '7181', '9427', 'Z', '3863', 'A', '8119', 'P', '7507', 'A', 'L', '3643', 'C', 'a', '7935', '2923', '8159', 'C', 'G', 's', 'T', '2729', 'p', '4841', 'J', 'q', 4205, 'L', 8435, 'V', 's', 8331, 6689, 895, 1785, 583, 'z', 7995, 2379, 'O', 3739, 7231, 'k'], [6717, 369, 'M', 'j', 223, 3923, 251, 'd', 8073, 'L', 'W', 4333, 'g', 'V', 8051, 4869, 923, 7289, 4517, 'r', 3355, 'h', '7181', '9427', 'Z', '3863', 'A', '8119', 'P', '7507', 'A', 'L', '3643', 'C', 'a', '7935', '2923', '8159', 'C', 'G', 's', 'T', '2729', 'p', '4841', 'V', 953, 'j', 'd', 'j', 'Y', 'N', 807, 6429, 8637, 1077, 3591, 5143, 'y', 'y', 'L', 'R', 1919, 'm', 'T', 8089]

A:
7181, 9427, Z, 3863, A, 8119, P, 7507, A, L, 3643, C, a, 7935, 2923, 8159, C, G, s, T, 2729, p, 4841
****