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

Q: [2799, 'R', 's', '9885', 's', 'c', '7143', 'H', '445', 'F', 9229, 'B', 5169, 'T', 's'], [109, 'u', 'f', 2303, 1495, 5041, '9885', 's', 'c', '7143', 'H', '445', 'v', 7261]

A: 9885, s, c, 7143, H, 445
****
Q: ['c', 7387, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'W', 'i', 'A', 7573], ['K', 'g', 'b', 'u', 7899, 'k', 's', 223, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'h', 7411, 83, 'T', 9199, 't', 9245]

A: 4905, 999, 5697, G, 9975, f, I, 2807, 6785, 7473, 9999, 8011
****
Q: ['u', 2851, 'z', 'V', 'W', 6989, 8447, 6277, '9397', 'H', 'r', 'G', 'F', '395', '8711', 'p', 's', '3503', 'z', 'E', 3465, 'O', 3471], [5031, 3233, 7793, 'j', 'L', 1117, 5417, 'D', '9397', 'H', 'r', 'G', 'F', '395', '8711', 'p', 's', '3503', 'j', 5709, 3783, 'j', 'g']

A:
9397, H, r, G, F, 395, 8711, p, s, 3503
****