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

Input: Consider Input: ['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]

Output: q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P


Input: Consider Input: [8235, 6785, 'P', 'N', 'y', '5503', '6065', '2039', 'Q', 'o', 'F', 7791, 'R', 'm', 3633], ['s', 863, 'z', 'y', '5503', '6065', '2039', 'Q', 'o', 'o', 6907, 5837, 's', 2553]

Output: y, 5503, 6065, 2039, Q, o


Input: Consider Input: [6239, 'O', 'K', '3997', 'H', 'H', 'b', 'R', '9035', 'H', '4645', 'x', 4651], ['L', 8443, 6965, 'S', 's', 'K', '3997', 'H', 'H', 'b', 'R', '9035', 'H', '4645', 'b', 'w', 'i', 10007, 'h', 8893, 'G', 5365]


Output: K, 3997, H, H, b, R, 9035, H, 4645