s=$1{for(FS="+|=";c=$2%=s-=c;)print c;$0=$3%s?"no":"yes"}a++
3 2x+3y=5 6x+8y=25 5x+25y=13 25x+5y=13 7x+19y=13
1 yes 2 2 no no 5 5 5 5 no 5 1 yes
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!