import java.util.Scanner; import java.lang.String; class Main{ public static void main(String[] args){ Scanner scan=new Scanner(System.in); String S; try{ S=scan.next(); }catch(Exception e){ System.out.println(); return; } int len=S.length(); if(len<2){ System.out.println(S); return; } StringBuilder ans=new StringBuilder(); ans.append(S.charAt(0)); char a=S.charAt(0); for(int i=1;i