In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1743, 1015, 'V', 'G', 'm', 'm', 'm', 'R', 'F', 'Z', 'G', 'y', 'd', 'f', '4173', '1583', 'A', 'O', 'r', '177', '5307', '6793', 'Y', '5965', 'M', 'm', 1637], [5189, 'P', 4839, 'Z', 4391, 8489, 'S', 7777, 1373, 't', 'F', 3471, 6003, 'r', 'G', 'm', 'm', 'm', 'R', 'F', 'Z', 'G', 'y', 'd', 'f', '4173', '1583', 'A', 'O', 'r', '177', '5307', '6793', 'Y', '5965', 'u', 8361, 1115, 2045, 9905]