In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2741, 'V', 'Y', 'J', 7741, 2725, 'w', 'S', '4801', 'N', 'O', '4209', 'N', '5833', '8279', 'B', 'v', 2979], ['q', 5115, 735, 'r', 'I', 'Y', 3643, 'S', '4801', 'N', 'O', '4209', 'N', '5833', '8279', 'U', 8011, 2491]