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

[EX Q]: [4005, 'l', 'F', 4041, 'D', 5853, 'w', 'U', 'w', 'B', 'R', 'S', 4969, 'i', 3323, 889, 'N', 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'p', 4245, 'H', 'v', 5431, 'q', 'w', 'g', 'u', 'l', 9089, 's', 6469, 'P', 'r'], [625, 'R', 2937, 6877, 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'O', 's', 'k', 'b', 719, 'F', 779, 295, 3669, 'h', 't', 305, 677]
[EX A]: I, T, 3715, l, 7103, 5669, d, 6091, 6783, g, 2319, 5827, l, 9691, 2421, W, 8085

[EX Q]: [455, 5425, 2307, 'J', 327, 't', 'c', 'b', 6749, 7017, 'W', 'J', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'L', 4491, 'u', 't', 'v', 'P', 'n', 8189, 'C', 'G', 6899, 'L', 9701, 'c', 3957, 7607, 1245, 'M', 'I', 2799], [2217, 'B', 'G', 8865, 'Z', 5559, 'H', 1391, 6963, 'w', 'e', 'f', 9921, 'N', 2189, 'T', 'k', 'n', 6323, 6659, 'm', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'a', 2811, 'K', 'J', 1933, 'X', 'G', 'p', 'X', 'n', 'g', 975, 6475, 'h', 'S']
[EX A]: 7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837

[EX Q]: ['t', 'f', 3791, 2099, '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'b', 'f', 'i', 2371, 'W', 'c', 'c', 'l', 5505, 'L', 'w', 'a'], ['s', 5505, 'h', 4601, 4713, 6191, 't', 9213, 'D', 1777, 'E', '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'v', 5275, 'C', 'Y', 3371, 7105, 411, 'f', 8409]
[EX A]:
3895, 5725, 7743, 9219, c, 6319, 3099, 3601, a, 2943, 2543, 51, r, w, 2379, 5423, 5807, l