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: ['T', 5987, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'n', 5107, 'w', 'u'], [6625, 'm', 8849, 3385, 6853, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'a', 'G', 'G', 'e', 3501]

Output: 3759, O, x, 4311, e, 6841, R, d, y, 2745


Input: Consider Input: ['c', 2403, '9969', '2759', 'f', 'H'], ['U', 'L', '9969', '2759', 'C', 'A']


Output: 9969, 2759