In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].
Q: [3719, 1955, 'd', 'I', 'C', 3307, 'J', 9363, 1319, 'i', 'm', 4985, 8685, 1331, 'b', 'C', 'r', '6303', '5035', '7481', '685', '1795', '8607', '911', '5809', 'a', '9081', 'V', '441', '819', '6047', 'v', 'S', 'Q', '4303', 'e', 'f', 'O', 'g', 'y', 3047, 165, 2025, 6195, 5447, 'j', 'V', 6979, 'Q', 'e', 'a', 'k', 9725, 4203, 'r', 'l'], ['F', 5415, 6139, 'e', 'n', 3365, 'J', 'v', 'J', 9845, 'e', 6247, 7853, 8455, 243, 399, 1793, 667, 'L', 8509, 'D', 'b', 6293, 'C', 'r', '6303', '5035', '7481', '685', '1795', '8607', '911', '5809', 'a', '9081', 'V', '441', '819', '6047', 'v', 'S', 'Q', '4303', 'e', 'f', 'O', 'o', 3031, 'L', 'd', 'V', 6811, 'Q', 1381, 4219, 6107, 'f', 'u', 'n', 1705, 'I', 4645, 6809, 'I', 2069, 1513, 10021, 'a']
A:
C, r, 6303, 5035, 7481, 685, 1795, 8607, 911, 5809, a, 9081, V, 441, 819, 6047, v, S, Q, 4303, e, f, O