package algo; import java.util.*; public class sample7 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); char[] c = s.toCharArray(); for(int i=0; i < c.length; i++) { if(c[i] == 48) { } else { System.out.print(c[i]); } } System.out.print("0"); } }