Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['U', 7287, 4731, 'I', 8361, 531, 3021, 2093, 'U', 2049, 7291, 'u', 'A', '229', 'W', 'S', '3437', 's', '8137', 'm', '7173', 'K', '5803', '5651', 'E', '5367', 'L', 'I', 1797, 4353, 'm'], ['w', 'w', 'u', 'A', '229', 'W', 'S', '3437', 's', '8137', 'm', '7173', 'K', '5803', '5651', 'E', '5367', 'S', 'I', 5605, 6021, 'p', 'C', 'N', 1789]
A:
u, A, 229, W, S, 3437, s, 8137, m, 7173, K, 5803, 5651, E, 5367