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

['T', 8511, 5147, 'g', 7709, 8339, '3377', 'w', '3589', '7667', 'K', 'g', 'x', 'w', '6857', '7509', 'L', 'R', 519, 'w', 'S', 'r', 51, 1923, 'S', 'G', 'k'], ['k', 'F', 527, '3377', 'w', '3589', '7667', 'K', 'g', 'x', 'w', '6857', '7509', 'L', 'd', 4349, 'S', 8313, 'S', 'd', 5799, 9045, 7455]
3377, w, 3589, 7667, K, g, x, w, 6857, 7509, L