In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[823, 'q', 't', '6897', '4403', 'P', 'c', 'c'], ['z', 6779, 8369, 't', '6897', '4403', 'L', 'l', 'x']