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

Input: Consider Input: ['O', 'k', 'E', 281, 'J', 'J', 'z', 9541, 'K', 'Y', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'b', 'd'], [3187, 1933, 'u', 'E', 'Y', 2413, 'W', 'f', 'V', 9713, 4903, 'f', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'i', 5937, 'j', 1943, 'N', 9789, 'p', 3693, 2243, 9701, 6051, 6437, 'K', 4251, 5597, 'A', 'O', 'Y', 'P', 2435]

Output: G, s, J, h, o, 2303, 603, M, 5785, 7949, P, 9685, d, 801, 5021, 479, d, A, 1609, T


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: ['b', 7475, 'Z', 6397, 'U', '969', '5723', '2371', '6541', '6223', '7141', '4853', '5529', 'z', '9709', '8223', '1007', '7157', 'f', 'r', 8675, 'S'], [2579, 'K', 'N', 5049, '969', '5723', '2371', '6541', '6223', '7141', '4853', '5529', 'z', '9709', '8223', '1007', '7157', 'f', 'g', 2607, 'h', 615, 'O', 5193, 'W', 1825, 8291, 'R', 'T', 5091]


Output: 969, 5723, 2371, 6541, 6223, 7141, 4853, 5529, z, 9709, 8223, 1007, 7157, f