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

Example Input: ['p', 9773, 'Y', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'S', 5087, 'M', 7601, 'D'], [7787, 'l', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'X', 'W', 3163, 'f', 5201]
Example Output: o, w, s, 583, e, 2773, 9925, 8535, M, 9831, V, q

Example Input: [1527, 6311, 8927, 8605, 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'O', 2283, 'g', 5991, 'B', 'n', 3997, 'G', 8425, 5409, 4395], ['P', 9991, 8325, 'b', 'u', 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'J', 6627, 4667, 4387, 881, 8195, 'G']
Example Output: v, 3541, b, 9641, 1093, 2649, H, 3821, 4251, K, L, J, 5301, 9463, z, 1403

Example Input: [7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']
Example Output:
3257, 3693