5 6 0        One digit is misplaced.
6 5 0        One digit is misplaced.
8 6 5        No digits are correct.
3 2 7        One digit is misplaced.
3 7 2        One digit is misplaced.
3 0 7        Two digits are misplaced.
0 3 7        Two digits are perfect.
0 1 7        One digit is perfect.
4 1 7        No digits are correct.