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

Input: Consider Input: ['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]

Output: 9169, 1575, 5233, 1749, 5739


Input: Consider Input: ['c', 7387, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'W', 'i', 'A', 7573], ['K', 'g', 'b', 'u', 7899, 'k', 's', 223, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'h', 7411, 83, 'T', 9199, 't', 9245]

Output: 4905, 999, 5697, G, 9975, f, I, 2807, 6785, 7473, 9999, 8011


Input: Consider Input: ['q', 'H', '3671', '165', '4447', '7679', '9565', '1513', 'V', '3311', '3283', 'u', 'j', '2535', 'v', '2065', '3695', 'N', 'J', 3877, 'F'], ['r', 6577, 'q', 'c', 't', 2705, 7345, 'G', 1527, 'X', 8341, '3671', '165', '4447', '7679', '9565', '1513', 'V', '3311', '3283', 'u', 'j', '2535', 'v', '2065', '3695', 'N', 'T', 'R', 't', 4669]


Output: 3671, 165, 4447, 7679, 9565, 1513, V, 3311, 3283, u, j, 2535, v, 2065, 3695, N