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

Input: Consider Input: [9317, 'w', 4993, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 'n', 'm', 3279, 'p', 5809, 'R', 103, 'q', 7037], ['w', 'y', 1757, 'P', 5339, 'v', 2295, 'J', 'D', 6391, 4415, 3971, 2739, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 't', 583, 2855, 'n', 't', 7281, 5103, 'E', 3181, 3639, 'G', 'c', 4007, 'H', 'v', 8375, 'j', 'I', 'r', 'l', 9621, 'X', 1885, 4309]

Output: s, m, 6813, w, 1303, 849, k, 6253, 6957, 8725, 6917, f, 1977, 6293, 2107, Z, 3307, t, 2617, D, b, l, 8713, P, C, T


Input: Consider Input: ['J', 6791, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'i', 'n', 'R', 9199, 455, 'i'], [4051, 8463, 'i', 6667, 'N', 'k', 'X', 2629, 'I', 'O', 5057, 1059, 4265, 'B', 3819, 'c', 9941, 'R', 'a', 5545, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'a', 9953, 6229, 'F', 2985]

Output: x, f, n, 5565, 4103, q, n, h, 625, 2981, 3243, q, 2705, 5505, s, 4423, j, 9819, 3841, Z


Input: Consider Input: ['E', 8911, 'x', 's', '5941', '5909', 'Q', 'M', 8439, 7843], [1597, 1061, 'u', 9115, 6805, 'x', 's', '5941', '5909', 'Q', 'v', 'M']


Output: x, s, 5941, 5909, Q