*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws DownloadException {
try{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
String file1= r.readLine();
FileInputStream f = new FileInputStream(file1);
byte[] buffer = new byte[1000];
while(f.available()>0){
int count = f.read(buffer);
if(count<1000){
f.close();
}
package com.codegym.task.task18.task1810;
/*
DownloadException
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws DownloadException {
try{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
String file1= r.readLine();
FileInputStream f = new FileInputStream(file1);
byte[] buffer = new byte[1000];
while(f.available()>0){
int count = f.read(buffer);
if(count<1000){
f.close();
}
}
}
catch(IOException e){
}
}
public static class DownloadException extends Exception {
}
}