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: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']

Output: 6533, o, 47, 6333


Input: Consider Input: [3091, 'w', 'y', 2503, 783, 8097, 'r', 'M', 'x', 'j', '575', '8573', '4367', 't', 'H', '9555', '8325', 'L', '4487', 'g', '6835', 'c', '3407', 'R', 'c', '831', 'y', 'e', 'S', 8193, 153], [5509, 7849, 'A', 'T', 2787, 3457, 'p', 4915, 'w', 'x', 'j', '575', '8573', '4367', 't', 'H', '9555', '8325', 'L', '4487', 'g', '6835', 'c', '3407', 'R', 'c', '831', 'y', 'a', 9997, 'i', 997, 6319]


Output: x, j, 575, 8573, 4367, t, H, 9555, 8325, L, 4487, g, 6835, c, 3407, R, c, 831, y