summaryrefslogblamecommitdiffstats
path: root/skripti/IntsToBytes.java
blob: bd701e07a8b37f1d6ab836606b16a4d890f5c75e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                               
import java.util.*;
public class IntsToBytes {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		while (true) {
			try {
				System.out.write(sc.nextInt());
			} catch (NoSuchElementException e) {
				System.out.flush();
				System.exit(0);
			}
		}
	}
}