++$|; $c=100; print"? $c\n"; $cr=<>; $d=$cr<50?99-$cr*2:1; print"? $d\n"; $dr=<>; for$a(0..99){ for$b($a+1..100){ if(($a+$c)%$b==$cr&&($a+$d)%$b==$dr){ print"! $a $b\n"; } } }