Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
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