Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [2089, 8847, 'Q', 9569, 'm', 9285, 2515, 9313, '3029', 'z', '3633', 'u', 't', '4855', '2185', 'R', 'q', '5427', 'y', '3391', '7141', 'e', 2921], ['o', 361, 9109, 8389, 357, 7529, 's', 3639, 2009, 'B', 'j', '3029', 'z', '3633', 'u', 't', '4855', '2185', 'R', 'q', '5427', 'y', '3391', '7141', 'J', 'F', 'I', 5271, 6121]
Output:
3029, z, 3633, u, t, 4855, 2185, R, q, 5427, y, 3391, 7141