In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5679, 4751, 'N', 'p', 8333, 'w', 'w', 'A', 'U', 8349, 'R', '9419', 'g', '1959', 'D', '7501', '7115', '7497', 'R', '2963', '479', '8969', 'e', '6543', '4721', 'J', 5345, 8303, 5553, 3329, 'a', 'c', 4897], [6537, 101, 1213, 'T', 'y', 'Z', 973, 'X', 521, 2699, '9419', 'g', '1959', 'D', '7501', '7115', '7497', 'R', '2963', '479', '8969', 'e', '6543', '4721', 'j', 'P', 1989, 9115, 'J', 6149, 'P', 1091, 5495, 6401]