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

Input: Consider Input: [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']

Output: 7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837


Input: Consider Input: ['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']

Output: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707


Input: Consider Input: ['Z', 861, 'V', 5463, 8575, 1251, 2083, 'V', 'Q', 4225, 'P', 'R', 261, 1783, 'l', '4727', 'Y', '4345', 'T', 'P', 'T', 'h', '3767', '5229', 'A', 'b', 'R', '6093', '1999', '7249', '2041', 'D', 6315], [4061, 773, 9563, 'E', 5551, 5523, 8701, 'Y', 'V', 3711, 1759, 7357, 'E', 'V', 'O', 'm', 'l', '4727', 'Y', '4345', 'T', 'P', 'T', 'h', '3767', '5229', 'A', 'b', 'R', '6093', '1999', '7249', '2041', 'i', 'W', 'G', 5783, 7803, 'O', 'm']


Output: l, 4727, Y, 4345, T, P, T, h, 3767, 5229, A, b, R, 6093, 1999, 7249, 2041