import java.io.*;
import java.util.Scanner;
class FileInfo {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String fname = sc.nextLine();
File f = new File(fname);
System.out.println("Exists: " + f.exists());
System.out.println("Readable: " + f.canRead());
System.out.println("Writable: " + f.canWrite());
System.out.println("Type: " + (f.isDirectory() ? "Directory" : "File"));
System.out.println("Length: " + f.length() + " bytes");
}
}