In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8167, 7869, 'Z', 'E', 2155, 'k', 'V', 'x', 1357, 8085, 2069, 'j', 479, 'S', 'D', 'J', 'm', '9481', '7647', 'R', '8771', '4685', 'd', 'I', '3373', 'r', 'N', 6767, 7181, 1937, 'm', 'l', 2523, 2295, 707, 9027], ['Q', 'G', 'S', 'D', 'J', 'm', '9481', '7647', 'R', '8771', '4685', 'd', 'I', '3373', 'r', 'v', 6897, 427, 2399, 6341, 'A']