if (ai[i] > ai[i+1]) swap(ref ai[i], ref ai[i+1]);
}
}
static void swap(ref int x,ref int y) {
x = x + y;
y = x - y;
x = x - y;
}
static void
int[] ai = getdata();
bubblesort(ai);
foreach (int i in ai) console.writeline(i);