while(1>0){val x=readLine split"\\D";println(x.last.toInt-x(1).toInt)}