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

Q: ['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]

A: 831, c, 8509, 8765, 847, 9425, 3691
****
Q: ['d', 6171, 9855, 'D', 'e', '299', 'y', 'U', 'n', 'x', 'f', 2817, 7263, 2945, 'h'], [5759, 2135, '299', 'y', 'U', 'n', 'x', 'g', 2571, 'd']

A: 299, y, U, n, x
****
Q: [5455, 'P', '1119', 't', 'O', 4615], [1369, 'H', '1119', 't', 'J', 8197]

A:
1119, t
****