/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package fn; import java.util.Scanner; /** * * @author drevenak3 */ public class FN { /** * @param args the command line arguments */ // TODO code application logic here while(v.hasNext()){ v.nextInt(); int n=v.nextInt(); for(int i=1;i<=n;++i){ v.nextInt();v.nextInt(); } else } v.close(); } }