package javaapplication29;
import java.util.Scanner;
import java.util.StringTokenizer;
/**
*
* @author qingzhu
*/
public class JavaApplication29 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String[] mess={"整数部分","小数部分"};
Scanner reader=new Scanner(System.in);
double x=reader.nextDouble();
String s=String.valueOf(x);
StringTokenizer fenxi=new StringTokenizer(s,".");
for(int i=0;fenxi.hasMoreTokens();i++){
String str=fenxi.nextToken();
System.out.println(mess[i]+":"+str);}// TODO code application logic here
}
}