import java.util.Scanner; public class Yuki4 { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int leg[] = new int[n]; int x=0; int y=0; int z=0; for(int i=0;i