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

Q: [5861, 'Z', 1225, '3813', '8297', 't', '9301', 'd', 9323, 825], [5491, 'a', '3813', '8297', 't', '9301', 'Y', 'L', 'j', 5005]

A: 3813, 8297, t, 9301
****
Q: [6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]

A: 4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I
****
Q: [3559, 8605, 'P', 'e', 9115, 7015, 801, '2181', 'J', 'J', 'L', 'F', '2793', 'k', '8793', 'E', '5035', '179', 'r', 'c'], [4283, 'y', 6191, 'd', 'M', 79, 1695, '2181', 'J', 'J', 'L', 'F', '2793', 'k', '8793', 'E', '5035', '179', 'X', 'o', 2715, 'H']

A:
2181, J, J, L, F, 2793, k, 8793, E, 5035, 179
****