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

Input: Consider Input: ['d', 6717, 1947, 'n', 8773, 'E', 7607, 1719, 6751, 'L', 't', '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'k', 7289, 9515, 'G', 'q'], ['W', 8869, 't', 3453, 9177, 'G', 'M', 5171, 'O', 'C', 5097, 'H', 'M', 'U', 4167, 3051, 7487, 7483, 4945, '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'C', 9799, 6659, 's', 6881, 'w']

Output: 3149, y, 7897, L, J, 9557, 6413, H, q, 3055, 5967, 9411, 7869, 8277, 7533, H, 9713, 5981, a, 2937


Input: Consider Input: [9093, 3879, 'g', 'L', 'h', 'T', 'w', 'w', 'H', 'P', 1709, 'm', 'C'], ['G', 'h', 'L', 'h', 'T', 'w', 'w', 'Z', 'R', 3525, 'g', 8463]

Output: L, h, T, w, w


Input: Consider Input: [6187, 'I', 3131, 'O', 'e', 7101, 't', 8039, 'M', 4375, 'E', 'a', 'R', '9071', '5849', 'c', '687', 'Z', 'f', '1559', 'f', 'Z', '7073', '2463', 'S', 'j', 'L', '525', 'g', 'D', 'Z', '4499', 'H', '8599', '8409', 'g', 5471, 'p', 'U', 'I', 7847, 3529, 'd', 6841, 'x', 9545, 4243, 7671, 'N', 'W'], ['p', 5809, 5859, 8853, 627, 'q', 3259, 1143, 'q', 'E', 'a', 'R', '9071', '5849', 'c', '687', 'Z', 'f', '1559', 'f', 'Z', '7073', '2463', 'S', 'j', 'L', '525', 'g', 'D', 'Z', '4499', 'H', '8599', '8409', 'e', 5767, 'i', 'E']


Output: E, a, R, 9071, 5849, c, 687, Z, f, 1559, f, Z, 7073, 2463, S, j, L, 525, g, D, Z, 4499, H, 8599, 8409