In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5279, 8567, 8439, 177, 'y', 'V', 'P', 'C', 'U', '2547', 'a', 's', 'G', 6657, 4861, 'V'], ['p', 5151, 'V', 'P', 'C', 'U', '2547', 'a', 's', 'N', 't', 2557, 'g', 6957, 'f']