In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[21, 291, 'G', 'e', 'j', 'd', 'e', 'C', 3763, '5081', '6307', '5643', '3397', 'n', 'W', '4419', 'x', 'L', '5739', 'J', 'B', 'e', '8547', 'P', 'A', 'T', '4849', 'u', 'Z', '3125', 'R', 1559, 'p', 'G'], ['D', 'N', '5081', '6307', '5643', '3397', 'n', 'W', '4419', 'x', 'L', '5739', 'J', 'B', 'e', '8547', 'P', 'A', 'T', '4849', 'u', 'Z', '3125', 'z', 5999, 'k', 8871, 'w', 9687, 'q', 173]