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

Input: Consider Input: ['P', 'E', 'w', 4729, 8995, 'z', 3939, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'v', 1077, 153, 8063, 'h', 'k'], ['A', 2845, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'h', 9115, 'v', 275, 'C', 7405, 4211, 'X', 'O', 'e', 'n', 2507, 875, 'o', 6189, 'g', 'k', 3781, 1027, 807, 'g', 7213]

Output: 9711, 4699, c, 351, 7279, A, 719, j, 9659, 8455, 6859, E, 903, 1827, M, 3035, N, 2573, 4995, U, 8289, k, b, U, 1961


Input: Consider Input: [675, 'N', '7605', 'W', 'J', 'E', '2099', 'I', 'i'], ['T', 8995, 'E', 'U', '7605', 'W', 'J', 'E', '2099', 'R', 3629, 977]

Output: 7605, W, J, E, 2099


Input: Consider Input: [5537, 1097, 99, 2995, 295, 'q', 'f', 'S', 387, 9391, 8659, 'V', 'T', 6757, 2599, 'o', 6297, 7909, 6565, 'T', 'z', 'K', 'n', 2259, 'j', 'd', '2899', 'm', '7459', '1399', '549', '6417', 's', '5247', 'q', 'x', '6509', 'L', '5553', 'I', 'z', '6177', '35', 'j', '1141', 'k', '875', 'm', 'm', 'p', 'T', 'y'], ['p', 'F', 9375, 'g', 'j', 'd', '2899', 'm', '7459', '1399', '549', '6417', 's', '5247', 'q', 'x', '6509', 'L', '5553', 'I', 'z', '6177', '35', 'j', '1141', 'k', '875', 'm', 'm', 'M', 5307, 5647, 'N', 6759, 'N', 'r', 7917, 8103, 'H', 4657, 'h', 's', 'L', 1785, 2761, 3579, 4979, 'E']


Output: j, d, 2899, m, 7459, 1399, 549, 6417, s, 5247, q, x, 6509, L, 5553, I, z, 6177, 35, j, 1141, k, 875, m, m