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

Input: Consider Input: [8733, 'v', 'p', 5209, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'b', 3779, 5973, 'i', 5921, 'N', 5057, 'A', 2577, 'Z', 1771, 'a', 1067, 'n', 'R', 'g', 4261, 2179, 6831, 4749], [9955, 4173, 5331, 5307, 8589, 7067, 'u', 8543, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'e', 3355, 6925, 4047, 1911, 9227, 'F', 'b', 6205, 'S', 'm', 'E', 'a', 8093, 277]

Output: 4029, C, c, 3735, F, P, 6489, x, R, 8225, S, O, 8797, b, 2799, 4967, 653, k, 8993, 493, O


Input: Consider Input: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']

Output: 8157, 9625


Input: Consider Input: ['w', 'Y', 'P', 5993, 'a', 'n', '7993', 'C', 'Y', 'j', 1085], [5573, 8627, 8509, 'e', 'a', 'n', '7993', 'C', 'q', 'E']


Output: a, n, 7993, C