40% of the marbles are of other colors because 100 - 20 - 40 = <<100-20-40=40>>40

The friend will on average get 2 other colored marbles because 5 x .4 = <<5*.4=2>>2

# Answer

2
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Percius has a collection of marbles. 40% of them are clear. 20% are black, and the remainder are all the other colors. A friend of his asks if he can take five marbles. On average, how many marbles of other colors will his friend end up getting?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
2
Percius has a collection of marbles. 40% of them are clear. 20% are black, and the remainder are all the other colors. A friend of his asks if he can take five marbles. On average, how many marbles of other colors will his friend end up getting?
train