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

Q: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]

A: a, 3619, 5119, 4219, 769, 8735, 6417, V, W
****
Q: ['x', 9943, 'K', 'O', 'g', 6603, 1275, 'x', 6903, 'c', 9999, 8825, 2529, 'r', 9149, 'W', 6857, 'A', 'c', '551', 'U', '7103', '453', '4397', 'z', '3567', '8685', '4895', 'k', '6657', '8493', 'Z', 'J', 'y', 'v', 'r', 'J', 'g', '3679', '1287', 'p', 6153, 'A', 'S', 8797, 3097, 8983, 'e', 1335, 'L', 'k'], ['N', 3687, 'j', 325, 'I', 'A', 'T', 2921, 'm', 'Z', 9267, 'U', 3985, 7851, 5999, 'b', 'c', '551', 'U', '7103', '453', '4397', 'z', '3567', '8685', '4895', 'k', '6657', '8493', 'Z', 'J', 'y', 'v', 'r', 'J', 'g', '3679', '1287', 'G', 'K', 8039, 7189, 8641, 'x', 'P', 'v', 7977]

A: c, 551, U, 7103, 453, 4397, z, 3567, 8685, 4895, k, 6657, 8493, Z, J, y, v, r, J, g, 3679, 1287
****
Q: [3307, 'O', 3931, 'A', 'g', '8183', '9119', '203', 'z', '6093', 'd', 'Q', 'z', 289], ['X', 8083, '8183', '9119', '203', 'z', '6093', 'd', 'Q', 'A', 'd']

A:
8183, 9119, 203, z, 6093, d, Q
****