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

Input: Consider Input: ['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]

Output: r, l, N, J, 7029, l, m


Input: Consider Input: [4693, 'L', 7881, 9637, 'y', 's', 1851, '7315', 'i', 'I', '9393', '79', '279', '4549', '7217', '897', '2329', '5301', '3337', '9273', 'Z', 'a', 5545, 6795], ['t', 'W', 4149, 'h', 'M', 'A', 4569, 2677, '7315', 'i', 'I', '9393', '79', '279', '4549', '7217', '897', '2329', '5301', '3337', '9273', 'r', 2423, 6015, 3755, 6699, 'p', 39, 'h', 'b']

Output: 7315, i, I, 9393, 79, 279, 4549, 7217, 897, 2329, 5301, 3337, 9273


Input: Consider Input: [2719, 673, 2169, 't', 'T', '7197', 'u', 'X', '4721', 'Z', 'c', 'j', 'Q', 3553, 6337, 'V', 9389, 5647, 3925, 'k'], ['p', 'e', 6497, 'G', 'f', 'd', 'T', '7197', 'u', 'X', '4721', 'Z', 'c', 'j', 'j', 'M', 'd']


Output: T, 7197, u, X, 4721, Z, c, j