//#include <stdio.h>
//
//int main()
//{
// int arr[11][10] = {0};
// int i, j;
//
// for (i = 0; i < 11; i++)
// {
// for (j = 0; j < 10; j++)
// {
// scanf("%d", &arr[i][j]);
// }
// }
//
// for (i = 0; i < 10; i++)
// {
// if (arr[10][i] == 1)
// {
// for (j = 9; j >= 0 ; j--)
// {
// if (arr[j][i] > 0)
// {
// printf("%d crash\n", i + 1);
// break;
// }
// else if(arr[j][i] < 0)
// {
// printf("%d fall\n", i + 1);
// break;
// }
// }
//
// if (j==-1)
// {
// printf("%d safe\n", i + 1);
// }
//
// }
// }
//}
//
// step1: 반복문으로 적당히 잘 풀어보기
// step2: 주요 함수를 구현해보기
// step3: 함수 이용해서 문제 풀어보기
//#include<stdio.h>
//
//int main() {
// char word[1000] = {0};
// int i;
//// scanf("%s", word);
// gets(word);
//
// printf("%s", word);
//
// for(i=0; i<strlen(word); i++) {
// printf("%d:%c\n", i, word[i]);
// }
//}
/*
strcmp, strlen, strstr, strcpy
// strcmp: compre
// strlen: length
// strstr: inside str
// strcpy: copy
*/
/*
#include <stdio.h>
int main()
{
char word[100] = {0};
scanf("%s", word);
if(strcmp(word, "love") == 0)
{
printf("I love you.");
}
}
*/
/*
#include <stdio.h>
int main()
{
char word[19] = {0};
int i;
scanf("%s", word);
for (i = 0; i < strlen(word);i++)
{
printf("%c",word[i]+2);
}
printf("\n");
for ( i = 0; i < strlen(word);i++)
{
printf("%c",word[i]*7%80+48);
}
}
*/
/*
#include<stdio.h>
#include<string.h>
int main()
{
char word1[100] = {0};
char word2[100] = {0};
int i;
scanf("%s %s", word1, word2);
// a > b -> 1
// a < b -> -1
// a = b -> 0
if(strlen(word1) > strlen(word2))
{
printf("1");
}
else if(strlen(word1) < strlen(word2))
{
printf("-1");
}
else
{
for (i = 0; i <strlen(word1) ; i++)
{
if (word1[i] != word2[i])
{
if (word1[i] > word2[i])
{
printf("1");
break;
}
else if (word1[i] < word2[i])
{
printf("-1");
break;
}
}
}
if (i == strlen(word1))
{
printf("0");
}
}
}
*/
//
//#include<stdio.h>
//#include<string.h>
//
//int main() {
// char word1[1000] = {0}, search[1000] = {0};
// int i,j,a;
//
// scanf("%s %s", word1, search);
//
// if(word1 < search)
// {
// printf("0");
// }
// else
// {
// for (i = 0;i < strlen(word1); i++)
// {
// for (j = 0; j < strlen(search); j++)
// {
// if (word1[i] == search[j])
// {
// a++;
// }
//
// else if(j == strlen(search))
// {
// printf("0");
// break;
// }
// }
// if (a != strlen(word1))
// {
// printf("6421040");
// break;
// }
// }
// if (i == strlen(word1))
// {
// printf("0");
// }
// }
//}
/*
#include<stdio.h>
int main() {
char data[1000] = {0}, search[1000] = {0};
int i, j, n, k;
scanf("%s %s", data, search);
for(i=0; i<strlen(data); i++) {
printf("%d: %c(%d)\n", i, data[i], &data[i]);
}
printf("\n\n");
for(i=0; i<strlen(search); i++) {
printf("%d: %c(%d)\n", i, search[i], &search[i]);
}
for(i=0; i<strlen(search); i++) {
if(search[i] == data[0]) {
printf("find: %d\n", i);
for(j=0; j<strlen(data); ij+){
if(data[j] != search[i+j]) {
break;
}
}
if(j==strlen(data)) {
printf("%d", &search[i]);
return 0;
}
}
}
printf("0");
}
#include <stdio.h>
int main()
{
char word1[105] = {0};
int i , a = 0;
gets(word1);
for (i = 0; i < strlen(word1); i++)
{
if (word1[i] == 'l')
{
if(strstr(&word1[i], "love")) {
a++;
}
}
}
printf("%d", a);
}
#include <stdio.h>
int main()
{
char word1[105], word2[105] = {0};
scanf("%s %s",word1,word2);
if(strlen(word1) == strlen(word2))
{
if (strcmp(word1,word2) == 1)
{
printf("%s %s",word2,word1);
}
else if (strcmp(word1,word2) == -1)
{
printf("%s %s",word1,word2);
}
}
else
{
if (strlen(word1) > strlen(word2))
{
printf("%s %s",word2, word1);
}
else
{
printf("%s %s", word1,word2);
}
}
}
//*/
//#include <stdio.h>
//
//int main()
//{
// char word1[105] = {0};
//
// int i, a = 0, b = 0;
//
// scanf("%s", word1);
//
// for (i = 0; i < strlen(word1);i++)
// {
// if (word1[i] == 'c' || word1[i] == 'C')
// {
// a++;
// }
// }
//
// for (i = 0; i < strlen(word1);i++)
// {
// if ((word1[i] == 'c' || word1[i] == 'C') && (word1[i+1] == 'c' || word1[i+1] == 'C'))
// {
// b++;
// }
// }
//
// printf("%d\n%d",a,b);
//
//
//
//
//
//
//}
// recursion
/*
#include<stdio.h>
void rec(int k) {
if(k==0) {
return;
}
rec(k-1);
printf("%d\n", k);
}
int sum(int k) {
if(k==1) {
return 1;
}
return k + sum(k-1);
}
int main() {
int n;
scanf("%d", &n);
printf("%d\n", sum(n));
rec(n);
}
*/
#include<stdio.h>
void sum(int k)
{
}
int main()
{
}