using System.Security.Cryptography;
public static void Main(string[] args){
int[] a = {2,4,2,7,1,6,1,1,1};
bool MyCheck(int[] a, int m, int k){
for(int j = 0; j < (a.Length - m); j++){
Console.WriteLine("j " + j);
for(int i = 0; i < m; i++){
Console.WriteLine("a " + (i + j));
Console.WriteLine("ERR i:" + i + " j:" + j + ex.Message.ToString());
StringBuilder sb = new StringBuilder();
for(int d = 0; d < m; d++){
sb.Append(" " + a[ (j + d) ] + ", ");
Console.WriteLine("success " + sb.ToString());
if(a != null && m != null && k != null){
if(MyCheck(a,m,k) == true){
Console.WriteLine("result " + result);