int main() { //newline=10; int i; int sum; int a[10]; sum=0; //m = 1478; //int t; i=0; while(i<10) { a[i]=i+1; i=i+1; } int x; int high; int low; int mid; int n; n=10; x=getint(); high=n-1; low=0; mid=(high+low)/2; while(a[mid]!=x && low < high) { mid=(high+low)/2; if(x