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

Input: Consider Input: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]

Output: 2891, 7537


Input: Consider Input: ['D', 'B', 6407, 'L', 'P', 'B', '4529', 'r', 's', 7599, 373], ['f', 'E', 'L', 'P', 'B', '4529', 't', 3723]

Output: L, P, B, 4529


Input: Consider Input: [9783, 7237, 3607, 219, 'Z', 'a', 'Y', 'A', 'D', 2375, 'o', 's', 5351, 5549, 5541, 1625, 'C', 'F', 91, 'L', 'V', 'q', 4625, 'd', '3557', '4903', 'Q', 'U', '5089', 'X', 'q', '7685', '817', '2343', 'B', '9817', '1217', '2461', 't', '8867', 'o', 'u', '7185', 'a', 'S', 'u', '9995', 'C', 'u', 'd', 'W', 'B', 2629, 775, 'l', 'e', 'h', 7463, 'o', 'G', 'X', 'g', 'P', 6185, 6711, 't'], ['G', 315, 3569, 'i', 6275, 3841, 4673, 'w', 'J', 'M', 5067, 'P', 8695, 'd', 6413, 'm', 9311, 3265, 'L', 3711, 8503, 'e', 2285, 5619, 6747, 7689, 'd', '3557', '4903', 'Q', 'U', '5089', 'X', 'q', '7685', '817', '2343', 'B', '9817', '1217', '2461', 't', '8867', 'o', 'u', '7185', 'a', 'S', 'u', '9995', 'C', 'u', 'C', 'u', 2499, 'V', 5327, 4809, 9411, 6527, 'n', 7763, 'F', 'A', 9485, 4167, 'y', 'l', 'K', 'u', 'B', 4651, 'U', 'K', 'D', 6903, 'S', 'z']


Output: d, 3557, 4903, Q, U, 5089, X, q, 7685, 817, 2343, B, 9817, 1217, 2461, t, 8867, o, u, 7185, a, S, u, 9995, C, u