import java.io.*;public class 달팽이_1913 { public static void main(String[] args) throws Exception { StringBuilder sb = new StringBuilder(); // 입력받기 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.readLine()); int target = Integer.parseInt(br.readLine()); // 2차원 배열 생성 int board..