summaryrefslogtreecommitdiffstats
path: root/šola/p1/dn/DN00_63230317.java
blob: 763b46bd0b80fcef0d1f9bfe4c827eaa45d7f617 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import java.util.*;
public class DN00_63230317 {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int b = sc.nextInt();
		int p = sc.nextInt();
		System.out.println(b/p);
		System.out.println(b%p);
	}
}