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

[EX Q]: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
[EX A]: 5181, q, c, W, r

[EX Q]: [4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']
[EX A]: 4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031

[EX Q]: [6513, 's', 'H', '9531', '7339', 'b', 'z', 'N'], [3523, 6263, 'B', 'H', '9531', '7339', 'g', 'f']
[EX A]:
H, 9531, 7339