public static void main(String args[]){
int h=100;
double sum=100;
for(int i=1;i<=10;i++){
h/=2;
sum+=h;
}
System.out.println(sum);
}
public static void main(String args[]){
int h=100;
double sum=100;
for(int i=1;i<=10;i++){
h/=2;
sum+=h;
}
System.out.println(sum);
}