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

Input: Consider Input: [6233, 489, 6117, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'Q', 4171], ['G', 9467, 331, 9967, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'o', 'a', 'P', 'a', 'C', 'N', 'R', 'l', 'l', 'j', 'N', 8161, 3729, 'F', 'r', 'B']

Output: 5201, J, A, 3023, W, 791, 8263, m, w, q, 8873, B, 4945, 25, v, 6679, 3217, Q, 9509, V


Input: Consider Input: ['u', 'U', 'a', 'Z', 'b', 'Q', 'D', 5239, 6595, 1793, 'f', '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'm', 867, 585, 1765], [5201, 'W', 'a', 'k', 9031, 4815, '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'X', 2991, 3377, 2933, 5359, 6073, 8921, 789, 'W', 7037, 9953, 'N', 8007, 1755, 1959, 9619]

Output: 7733, 5727, 3047, 4951, 8907, D, 5105, i, 1837, i, Y, b, 5769, p, 1767, Y, B, q, 4075, 917, c


Input: Consider Input: ['J', 'Z', 9383, '8911', '1993', '1', 'F', 8821], [9709, 'w', 2873, '8911', '1993', '1', 'K', 'o']


Output: 8911, 1993, 1