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

Input: Consider Input: ['P', 'h', 9391, 'u', 9757, 'y', 'a', 'j', 'k', 'Y', '2091', 'U', 'p', 7959, 'F'], [1713, 2679, 'y', 'a', 'j', 'k', 'Y', '2091', 'U', 'V', 'r', 't', 'f', 8179]

Output: y, a, j, k, Y, 2091, U


Input: Consider Input: ['i', 4077, 'Z', 6231, 2337, 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'd', 1355, 'n'], [505, 'A', 8789, 75, 'q', 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'e', 'r', 'I', 'm', 1525, 3577]

Output: h, 1181, 1631, 2605, 587, 1477, 2707, R, O


Input: Consider Input: [805, 'x', 835, 'o', 'W', 'y', 3805, 6583, '6379', '195', 'L', '2175', 'M', '835', '3565', 'V', 'w', '2033', 'x', '9687', 'm', '4761', 'f', 'a', 'Z', 5493, 'S', 'm', 5807, 'F', 6425, 't'], ['c', 3477, '6379', '195', 'L', '2175', 'M', '835', '3565', 'V', 'w', '2033', 'x', '9687', 'm', '4761', 'b', 't', 5369, 9131, 'M', 'Y']


Output: 6379, 195, L, 2175, M, 835, 3565, V, w, 2033, x, 9687, m, 4761