using System.Console;mutable a,b;for(;;){a=Read();when(a>b||a<11){b=a;Write(b:>char);}}