Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['D', 5399, 'J', 5877, 903, 'T', 'v', '503', '4541', '7131', '8381', '3737', '4089', 's', 'N', 8777, 'h', 6737, 'm', 2453], [8923, 6749, 6861, 'v', '503', '4541', '7131', '8381', '3737', '4089', 's', 'v', 'm', 'h', 'Q', 9921, 3241, 7835, 'Q']
Output:
v, 503, 4541, 7131, 8381, 3737, 4089, s