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

Input: Consider Input: [5179, 's', 7203, 4301, 3441, 'k', 'P', 't', 'r', 3027, 's', 3809, 'u', 'S', 'h', 5087, 'z', 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'z', 'V', 'l', 521, 9401, 3845, 6245, 3437, 'w', 'u'], ['u', 4399, 'R', 'v', 'x', 1061, 7505, 'r', 8411, 'o', 9285, 477, 3823, 'O', 'B', 2731, 5879, 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'G', 9613, 8995, 3881, 'i', 'G', 't', 2473, 1297, 7481, 'v', 'a', 7607, 1147, 3263, 'p']

Output: a, b, 3333, 6041, 2765, q, 9485, 7697, E, 509, Q, 1573, 4879, 1197, 4515, k, c


Input: Consider Input: ['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]

Output: 831, c, 8509, 8765, 847, 9425, 3691


Input: Consider Input: [2631, 4513, 'D', 2159, 6107, 'E', 1351, 9425, 7617, 9027, 2649, '5145', 'L', '5309', '6667', 'r', '2089', '8037', '6945', 'O', '5877', 'J', '8117', '2833', 'I', 7331, 3615, 'p', 'A'], [2163, 1747, '5145', 'L', '5309', '6667', 'r', '2089', '8037', '6945', 'O', '5877', 'J', '8117', '2833', 'u', 'n', 1757, 'G', 1059, 'G', 'a', 4643, 5701, 'N']


Output: 5145, L, 5309, 6667, r, 2089, 8037, 6945, O, 5877, J, 8117, 2833