Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [3357, 719, 'a', 'H', 5755, 4509, 7699, '1259', 'w', '8853', '3255', '1963', '1261', 'I', '6963', '6003', '7081', '4547', 't', 'P', '863', 'Y', 'I', '9615', 'J', '1635', '4137', 'g', 'R', 'S', 'B', 'b', 3961, 'u', 'u', 5811, 5373, 3641, 7371, 'h', 7681, 7085, 'j', 7861], [3897, 'D', 'O', 7821, 'u', 'w', 'O', 389, 'h', 'T', 4905, '1259', 'w', '8853', '3255', '1963', '1261', 'I', '6963', '6003', '7081', '4547', 't', 'P', '863', 'Y', 'I', '9615', 'J', '1635', '4137', 'g', 'R', 'S', 'O', 5345, 5797, 727, 'v', 3847, 'g', 's', 5673, 3995, 1765, 'v', 7575, 'S', 2865, 3517, 's', 4907, 2367, 7525]
A:
1259, w, 8853, 3255, 1963, 1261, I, 6963, 6003, 7081, 4547, t, P, 863, Y, I, 9615, J, 1635, 4137, g, R, S