Xiaoming has 40 marbles. Xiaoli has 20 fewer marbles than 3 times the number of marbles Xiaoming has. How many more marbles does Xiaoli have than Xiaoming? Let's think step by step and output the final answer within \boxed{}.
user