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

Input: Consider Input: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]

Output: z, f, o, L


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: [245, 7943, 4021, 'N', 545, 'G', 'Y', '2539', '5729', '1911', '6195', '6849', 'C', 'e', '10007', 'L', 'V', 5489, 8509], ['Q', 'A', 7381, 'G', 'Y', '2539', '5729', '1911', '6195', '6849', 'C', 'e', '10007', 'L', 'Y', 'L', 'u', 'x', 'N', 'l', 4763, 9901, 9495]


Output: G, Y, 2539, 5729, 1911, 6195, 6849, C, e, 10007, L