import java.util.Scanner; public class No048 { public static void main(String args[]){ int x = 0; int y = 0; int distance = 0; int go = 0; int turn = 0; Scanner sc = new Scanner(System.in); x = sc.nextInt(); y = sc.nextInt(); go = sc.nextInt(); //回頭に要する行為判定 if(0