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

Input: Consider Input: [8903, 3375, 'w', 1053, 3561, 'm', 'n', 525, 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'k', 6765, 'Z', 10011, 'r', 983, 'm', 1725, 4499, 'b', 'w', 4247, 3031, 2341, 'K', 5849, 8609, 'b', 'Q', 9443], [4217, 7417, 7593, 7021, 'x', 'n', 'w', 'G', 'p', 1559, 5043, 's', 'x', 1433, 'U', 6581, 'w', 5419, 'M', 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'n', 7429, 1747, 'f', 'Q', 7365, 'X', 'r', 'f', 1747, 'H', 'w', 7691, 'Y']

Output: X, 405, m, s, 1099, 2317, O, 2573, l, 3259, 4463, 9185, 3407, v, 9943, C, M, O, 3067, 2717, W, B, 5015, m, 6297, 301


Input: Consider Input: [8833, 'F', 15, 'I', 'v', '6401', 'd', 173, 'Z'], [1225, 'z', 'I', 'v', '6401', 'p', 4403, 5813]

Output: I, v, 6401


Input: Consider Input: [9259, 'o', 7501, 9339, 'e', 'j', 5201, 'F', 'm', 'Z', 4739, 9513, 'K', 4007, 7951, 'Q', 'h', 'W', 'z', 'N', '2169', '8227', '4427', 'i', '3431', 'D', '9789', 'a', 'g', '6779', '739', 'l', '8281', 'N', 'U', 4829, 'y', 9199, 'x', 'p', 'a', 6045, 'e', 7543, 's', 'r'], [1303, 8999, 'c', 'N', 'x', 'r', 'u', 2907, 7717, 493, 3131, 5091, 'e', 'a', 'y', 'W', 'z', 'N', '2169', '8227', '4427', 'i', '3431', 'D', '9789', 'a', 'g', '6779', '739', 'l', '8281', 'N', 'z', 'v', 1137, 't', 'R', 'm', 'I', 'b', 'S', 'Z', 'z', 6319, 43, 'B']


Output: W, z, N, 2169, 8227, 4427, i, 3431, D, 9789, a, g, 6779, 739, l, 8281, N