#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, char *);
int /*<<< orphan*/ *strchr(char *, char);
int main() {
  char s[1001];
  scanf("%1000[^\n]", s);
  int array[26];
  int i = 0;
  for (i = 0; i < 26; i++) {
    array[i] = 0;
  }
  char small_a, capital_a;
  small_a = 97;
  capital_a = 65;
  for (i = 0; i < 26; i++) {
    if ((strchr(s, small_a) == NULL) && (strchr(s, capital_a) == NULL)) {
      printf("not pangram");
      return 0;
    }
    small_a++;
    capital_a++;
  }
  printf("pangram");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x470,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x3f0(%rbp),%rsi
lea    0xeb0(%rip),%rdi
call   1050 <scanf@plt>
movl   $0x0,-0x464(%rbp)
movl   $0x0,-0x464(%rbp)
cmpl   $0x1a,-0x464(%rbp)
jge    119c <main+0x6c>
movslq -0x464(%rbp),%rax
movl   $0x0,-0x460(%rbp,%rax,4)
mov    -0x464(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x464(%rbp)
jmp    1169 <main+0x39>
movb   $0x61,-0x465(%rbp)
movb   $0x41,-0x466(%rbp)
movl   $0x0,-0x464(%rbp)
cmpl   $0x1a,-0x464(%rbp)
jge    1243 <main+0x113>
lea    -0x3f0(%rbp),%rdi
movsbl -0x465(%rbp),%esi
call   1030 <strchr@plt>
cmp    $0x0,%rax
jne    1213 <main+0xe3>
lea    -0x3f0(%rbp),%rdi
movsbl -0x466(%rbp),%esi
call   1030 <strchr@plt>
cmp    $0x0,%rax
jne    1213 <main+0xe3>
lea    0xe08(%rip),%rdi
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1256 <main+0x126>
mov    -0x465(%rbp),%al
add    $0x1,%al
mov    %al,-0x465(%rbp)
mov    -0x466(%rbp),%al
add    $0x1,%al
mov    %al,-0x466(%rbp)
mov    -0x464(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x464(%rbp)
jmp    11b4 <main+0x84>
lea    0xdc4(%rip),%rdi
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x470,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x3f8,%rsp
lea    0xebb(%rip),%rdi
mov    %rsp,%r15
mov    %r15,%rsi
call   1050 <scanf@plt>
mov    $0xffffffe6,%ebx
lea    0xeae(%rip),%r14
lea    0xeab(%rip),%r12
jmp    1174 <main+0x44>
cs nopw 0x0(%rax,%rax,1)
nop
inc    %ebx
je     119c <main+0x6c>
lea    0x7b(%rbx),%eax
movsbl %al,%esi
mov    %r15,%rdi
call   1030 <strchr@plt>
test   %rax,%rax
jne    1170 <main+0x40>
lea    0x5b(%rbx),%eax
movsbl %al,%esi
mov    %r15,%rdi
call   1030 <strchr@plt>
test   %rax,%rax
jne    1170 <main+0x40>
jmp    119f <main+0x6f>
mov    %r12,%r14
mov    %r14,%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x3f8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [10 x i8] c"%1000[^\0A]\00"
@.str.1 = [12 x i8] c"not pangram\00"
@.str.2 = [8 x i8] c"pangram\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [1001 x i8]
%3 = alloca [26 x i32]
%4 = alloca i32
%5 = alloca i8
%6 = alloca i8
store i32 0, i32* %1
%7 = getelementptr inbounds [1001 x i8], [1001 x i8]* %2, i64 0, i64 0
%8 = call i32 @scanf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %7)
store i32 0, i32* %4
store i32 0, i32* %4
br label %9
9: ; preds = %16, %0
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 26
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, i32* %4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [26 x i32], [26 x i32]* %3, i64 0, i64 %14
store i32 0, i32* %15
br label %16
16: ; preds = %12
%17 = load i32, i32* %4
%18 = add nsw i32 %17, 1
store i32 %18, i32* %4
br label %9
19: ; preds = %9
store i8 97, i8* %5
store i8 65, i8* %6
store i32 0, i32* %4
br label %20
20: ; preds = %40, %19
%21 = load i32, i32* %4
%22 = icmp slt i32 %21, 26
br i1 %22, label %23, label %43
23: ; preds = %20
%24 = getelementptr inbounds [1001 x i8], [1001 x i8]* %2, i64 0, i64 0
%25 = load i8, i8* %5
%26 = call i32* @strchr(i8* %24, i8 signext %25)
%27 = icmp eq i32* %26, null
br i1 %27, label %28, label %35
28: ; preds = %23
%29 = getelementptr inbounds [1001 x i8], [1001 x i8]* %2, i64 0, i64 0
%30 = load i8, i8* %6
%31 = call i32* @strchr(i8* %29, i8 signext %30)
%32 = icmp eq i32* %31, null
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %1
br label %45
35: ; preds = %28, %23
%36 = load i8, i8* %5
%37 = add i8 %36, 1
store i8 %37, i8* %5
%38 = load i8, i8* %6
%39 = add i8 %38, 1
store i8 %39, i8* %6
br label %40
40: ; preds = %35
%41 = load i32, i32* %4
%42 = add nsw i32 %41, 1
store i32 %42, i32* %4
br label %20
43: ; preds = %20
%44 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %1
br label %45
45: ; preds = %43, %33
%46 = load i32, i32* %1
ret i32 %46
}

LLVM IR (-O2):
@.str = [10 x i8] c"%1000[^\0A]\00"
@.str.1 = [12 x i8] c"not pangram\00"
@.str.2 = [8 x i8] c"pangram\00"
define i32 @main() {
%1 = alloca [1001 x i8]
%2 = getelementptr inbounds [1001 x i8], [1001 x i8]* %1, i64 0, i64 0
%3 = call i32 @scanf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %2)
br label %4
4: ; preds = %0, %13
%5 = phi i8 [ %15, %13 ], [ 65, %0 ]
%6 = phi i8 [ %14, %13 ], [ 97, %0 ]
%7 = phi i32 [ %16, %13 ], [ 0, %0 ]
%8 = call i32* @strchr(i8* %2, i8 signext %6)
%9 = icmp eq i32* %8, null
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = call i32* @strchr(i8* %2, i8 signext %5)
%12 = icmp eq i32* %11, null
br i1 %12, label %18, label %13
13: ; preds = %10, %4
%14 = add nuw nsw i8 %6, 1
%15 = add nuw nsw i8 %5, 1
%16 = add nuw nsw i32 %7, 1
%17 = icmp eq i32 %16, 26
br i1 %17, label %18, label %4
18: ; preds = %13, %10
%19 = phi i8* [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), %10 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), %13 ]
%20 = call i32 @printf(i8* dereferenceable(1) %19)
ret i32 0
}