In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9465, 's', '6645', '4295', '9865', '6737', 'd', 'x', 'P', 7959], ['w', 4023, 5847, '6645', '4295', '9865', '6737', 'r', 'h', 'r']