In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['e', 'k', 'x', 3957, 'Q', 7395, 'L', 'U', 'S', '701', '8349', '6597', '97', 't', 'O', '3955', 'q', 'v', '9169', '2347', '6851', '9367', '8263', '8239', '7701', 'E', 'm', 'i', 'h', '6719', 'e', '8085', '8167', 'C', 'a', 'l', 2041, 'O', 'g', 'K', 7855, 'G', 'C', 8107, 'Y', 't', 6343, 'D', 5403, 795, 'v', 7983, 'V', 'y'], ['I', 381, '701', '8349', '6597', '97', 't', 'O', '3955', 'q', 'v', '9169', '2347', '6851', '9367', '8263', '8239', '7701', 'E', 'm', 'i', 'h', '6719', 'e', '8085', '8167', 'f', 3981, 5927, 6943, 't', 2189, 4861]
A: 
701, 8349, 6597, 97, t, O, 3955, q, v, 9169, 2347, 6851, 9367, 8263, 8239, 7701, E, m, i, h, 6719, e, 8085, 8167