In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6357, 5591, 8245, '5305', 'W', '1719', '6671', 'S', 'o', 'g', '6925', '8387', 'M', '9353', '4727', '1043', 'W', 'H', 's', 'L', 2189, 'w', 'P', 'o', 'G', 9459, 'l', 'R', 'F'], ['z', 'v', 'G', 'K', 6317, '5305', 'W', '1719', '6671', 'S', 'o', 'g', '6925', '8387', 'M', '9353', '4727', '1043', 'W', 'g', 3583, 'u', 'r', 'X', 4789, 'U', 'P']