## Examples

If the number is 247, and you entered 126, the result would be 0 correct, and 1 in the wrong place.

If the number is 247, and you entered 247, the result would be 3 correct, and 0 in the wrong place.

If the number is 247, and you entered 222, the result would be 1 correct, and 0 in the wrong place.

If the number is 247, and you entered 737, the result would be 1 correct, and 0 in the wrong place.

If the number is 247, and you entered 724, the result would be 0 correct, and 3 in the wrong place.

If the number is 242, and you entered 223, the result would be 1 correct, and 1 in the wrong place.

If the number is 74372, and you entered 43177, the result would be 1 correct, and 3 in the wrong place.