In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['E', 'U', '1563', 'r', 'w', '23', 'S', 2023, 'G'], ['B', 3759, 'z', 'G', '1563', 'r', 'w', '23', 'K', 6433]