// Online C compiler to run C program online
#include <stdio.h>

int main() {
    int code = 1324;
    int n;
    int count;
    printf("Enter the number: ");
    scanf("%d", &n);
    for(int i = 0; i == count; i++){
        count ++;

    if(code==n){
        printf("Password cracked");
        break;
    }
    else{
        printf("Enter again: ");
        scanf("%d", &n);
    }
    
 } 
 printf("\nThe password was cracked after %d amount of tries", count);
    return 0;
}