Each part of the wire is 50/5 = <<50/5=10>>10 meters long.

Ernest used 3 parts, then he used 10 x 3 = <<3*10=30>>30 meters of the wire.

Therefore, 50 - 30 = <<50-30=20>>20 meters of wire is not used.

# Answer

20
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Ernest bought 50 meters of wire and cut it into 5 equal parts. He then used 3 parts of the wire. How many meters of wire is not used?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
20
Ernest bought 50 meters of wire and cut it into 5 equal parts. He then used 3 parts of the wire. How many meters of wire is not used?
train