Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [4101, 'n', '8553', 'e', 'K', 'z', 't', '3991', 'I', 5919, 's'], [6861, 2443, '8553', 'e', 'K', 'z', 't', '3991', 'x', 4623, 6541]
Output:
8553, e, K, z, t, 3991