import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String n = sc.next(); int len = n.length(); if(len==3){ System.out.println(n); }else if(len==2){ System.out.println("0"+n); }else{ System.out.println("00"+n); } } }