//Nayeem Shahriar Joy, Applied Physics & Electronic Engineering, University of Rajshahi.
import java.util.Scanner;
public class JavaApplication1 {
public static void main(String[] args) {
Scanner io=new Scanner(System.in);
String s=io.nextLine();
String[]values=s.split("-");
for(int i=0;i<values.length;i++)
{
System.out.print(values[i].charAt(0));
}
System.out.println();
// TODO code application logic here
}
No comments:
Post a Comment