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

Input: Consider Input: [7217, 5633, 8727, 'l', 's', 'u', 'T', 'F', 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'J', 7151, 'J', 1523, 'p', 369, 8817, 'N', 'B', 1305, 1271, 1349, 3329, 1437, 'p'], [595, 7009, 'f', 463, 'B', 'V', 7397, 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'Y', 'x', 7741, 4563, 'O', 'l', 'D', 'U', 5221]

Output: n, L, G, K, S, 523, 9835, 1331, 7069, 9089, z, 8111, C, 7653, P


Input: Consider Input: [9417, 6541, 'V', 4095, 2535, 8271, 4253, 'r', 7251, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'Y', 'm', 3611, 'K', 7553, 'B', 'K', 'T'], ['P', 'r', 6361, 2773, 'r', 2627, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'f', 7923, 3733, 5271, 4083]

Output: F, s, 5673, Q, 163, 591, G, m, t, 7069, c, o, t, q, 5595, D


Input: Consider Input: ['J', 'm', 1459, 6539, 't', 'I', 'q', '5941', '8225', 'c', '513', 'c', '9193', '9491', 'L', 3221, 319, 'x', 2627, 3635, 1577], ['k', 7381, 6901, 'I', 'q', '5941', '8225', 'c', '513', 'c', '9193', '9491', 'v', 'I', 9511, 5057, 's', 'D', 'e', 'U']


Output: I, q, 5941, 8225, c, 513, c, 9193, 9491