In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'f', 'r', 'v', 5407, 4827, 191, 8493, 6435, 'o', 'z', 587, 9371, 'N', 'h', 'R', 'M', 'D', 'H', 'w', 'g', 'G', '1847', '1901', 'Q', '827', 'w', '9495', 'D', '3675', 'K', '5819', '5535', '263', '9605', '267', 'O', '7339', '3429', 'K', '5931', 'V', 4245, 6419, 9979, 'D', 4673, 'p', 'K', 737, 'y', 1677, 5071, 'O', 'F', 8611, 2651, 5521, 'p', 'J', 6649, 17, 'E', 'c'], ['T', 3409, 'D', 6649, 'Y', 'm', 'V', 5829, 'D', 'H', 'w', 'g', 'G', '1847', '1901', 'Q', '827', 'w', '9495', 'D', '3675', 'K', '5819', '5535', '263', '9605', '267', 'O', '7339', '3429', 'K', '5931', 'J', 4343, 'v', 5599, 'q', 5033, 'F', 2825, 2851]