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

[2695, 7827, 'J', '5719', 'b', 'A', 'N', 'u'], ['J', 1977, 'I', '5719', 'b', 'A', 'F', 4855]
5719, b, A