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

Input: Consider Input: ['s', 'u', 'I', 't', '5653', '1351', 'p', 'n', 'V', '4089', '3689', 'D', '8733', 'e', 'h', '7295', '3557', 'i', '3711', '953', '1577', '2329', '261', '559', 'J', 'n', 'V', 7375, 'p'], ['a', 7915, 'C', 'G', 7485, 1217, 'k', 'w', 'Z', 7599, 'E', '5653', '1351', 'p', 'n', 'V', '4089', '3689', 'D', '8733', 'e', 'h', '7295', '3557', 'i', '3711', '953', '1577', '2329', '261', '559', 'J', 'n', 'Z', 7089, 'N', 1657, 'T', 5555, 5727, 1115, 'G', 'e']

Output: 5653, 1351, p, n, V, 4089, 3689, D, 8733, e, h, 7295, 3557, i, 3711, 953, 1577, 2329, 261, 559, J, n


Input: Consider Input: ['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]

Output: 5747, i, M


Input: Consider Input: [1609, 7947, 'b', 'm', 'L', 'C', 4295, 3279, 5925, 8447, 3427, 'a', 'p', '9007', 'w', '7613', '9697', '9277', 'T', 'v', '2489', 'W', '1275', 'M', 'g', '2847', 'Z', 'f', '3575', 'J', '3395', 'i', '1173', '3895', 'K', '9055', 'q', 'O', 'o', 'o', 5851, 6817, 2107, 1839, 'v', 1341, 6517, 'r', 'r', 'T', 'x', 's', 7243, 'Q', 8865, 'G', 'Z', 'h', 'T', 1021, 517], [3353, 8673, 6563, 'b', 'w', 2709, 'X', 'J', 'Z', 4739, 'a', 'p', '9007', 'w', '7613', '9697', '9277', 'T', 'v', '2489', 'W', '1275', 'M', 'g', '2847', 'Z', 'f', '3575', 'J', '3395', 'i', '1173', '3895', 'K', '9055', 'q', 'f', 'a', 'f', 9515, 'd', 'A', 'p', 'd']


Output: a, p, 9007, w, 7613, 9697, 9277, T, v, 2489, W, 1275, M, g, 2847, Z, f, 3575, J, 3395, i, 1173, 3895, K, 9055, q