public class Main {
public static void main(String[] args) {
int x = 5;
int y = 2;
System.out.println(x % y);
}