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

['f', 8547, 4157, 'W', '7343', '5043', '1651', '9735', 'r', 'g'], [2251, 2929, 'K', 'G', '7343', '5043', '1651', '9735', 'J', 8323, 'N']
7343, 5043, 1651, 9735