inputs first record's key
scanf("%d",&keyvalue);