import java.io.*;
// javac simple_modulus.java
public class simple_modulus
{
public static void main(String args[])throws IOException
{
/*this is a comment
compile as
javac multi_comment.java
call as java simple_comment */
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Type numbers only: ");
String str = "";
str = br.readLine();
System.out.println(str);
double d1 = Double.parseDouble(str);
System.out.println();
System.out.println(d1 += d1);
double n1 = d1 % 3 ;
System.out.println("d1 % 3 is " + n1);
double d2 = d1 / 3 ;
System.out.println("d1 / 3 is " + d2);
}
}