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', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']

Output: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707


Input: Consider Input: ['t', 'f', 3791, 2099, '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'b', 'f', 'i', 2371, 'W', 'c', 'c', 'l', 5505, 'L', 'w', 'a'], ['s', 5505, 'h', 4601, 4713, 6191, 't', 9213, 'D', 1777, 'E', '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'v', 5275, 'C', 'Y', 3371, 7105, 411, 'f', 8409]

Output: 3895, 5725, 7743, 9219, c, 6319, 3099, 3601, a, 2943, 2543, 51, r, w, 2379, 5423, 5807, l


Input: Consider Input: ['O', 'W', 7257, 2355, 'Z', 't', 4509, 1567, 5199, 6689, 's', 1477, 'm', 't', '8411', 'B', 'F', 'v', '7779', '4767', 'j', '4707', '3511', '971', 'A', 'h', 'd', 'D', '1201', 'H', '5537', 'w', 't', 'V', 'x', 'W', 'F', '6417', 'e', 'T', 'S', 7465, 6765, 8063, 'q', 's'], [6845, 6777, 'L', 467, 1533, 'j', 5125, 2979, 2875, 2187, 3811, 'B', 839, 1795, 'O', 's', 'o', 'G', 'C', 'e', 'K', 'G', 115, '8411', 'B', 'F', 'v', '7779', '4767', 'j', '4707', '3511', '971', 'A', 'h', 'd', 'D', '1201', 'H', '5537', 'w', 't', 'V', 'x', 'W', 'F', '6417', 'o', 2219, 'w', 'u']


Output: 8411, B, F, v, 7779, 4767, j, 4707, 3511, 971, A, h, d, D, 1201, H, 5537, w, t, V, x, W, F, 6417