#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 scanf(char *, long long *);
int main(void) {
  long long int i, n;
  while (scanf("%lld", &n) == 1) {
    if (n < 0)
      break;
    else if (n != 1)
      printf("%lld\%\n", n * 25);
    else
      printf("0\%\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <scanf@plt>
cmp    $0x1,%eax
jne    1193 <main+0x73>
cmpq   $0x0,-0x18(%rbp)
jge    1158 <main+0x38>
jmp    1193 <main+0x73>
cmpq   $0x1,-0x18(%rbp)
je     117b <main+0x5b>
imul   $0x19,-0x18(%rbp),%rsi
lea    0xe96(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1189 <main+0x69>
lea    0xe8a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    118e <main+0x6e>
jmp    112f <main+0xf>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xed1(%rip),%rdi
mov    %rsp,%rsi
call   1040 <scanf@plt>
cmp    $0x1,%eax
jne    11ab <main+0x8b>
mov    (%rsp),%rax
test   %rax,%rax
js     11ab <main+0x8b>
lea    0xec0(%rip),%r14
lea    0xead(%rip),%r15
mov    %rsp,%rbx
lea    0xea8(%rip),%r12
nopl   (%rax)
cmp    $0x1,%rax
jne    1180 <main+0x60>
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1192 <main+0x72>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,4),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1040 <scanf@plt>
cmp    $0x1,%eax
jne    11ab <main+0x8b>
mov    (%rsp),%rax
test   %rax,%rax
jns    1160 <main+0x40>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"%lld\00"
@.str.1 = [7 x i8] c"%lld%\0A\00"
@.str.2 = [4 x i8] c"0%\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
store i32 0, i32* %1
br label %4
4: ; preds = %21, %0
%5 = call i32 @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64* %3)
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %22
7: ; preds = %4
%8 = load i64, i64* %3
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %7
br label %22
11: ; preds = %7
%12 = load i64, i64* %3
%13 = icmp ne i64 %12, 1
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i64, i64* %3
%16 = mul nsw i64 %15, 25
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 %16)
br label %20
18: ; preds = %11
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %20
20: ; preds = %18, %14
br label %21
21: ; preds = %20
br label %4
22: ; preds = %10, %4
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"%lld\00"
@.str.1 = [7 x i8] c"%lld%\0A\00"
@.str.2 = [4 x i8] c"0%\0A\00"
define i32 @main() {
%1 = alloca i64
%2 = bitcast i64* %1 to i8*
%3 = call i32 @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64* %1)
%4 = icmp ne i32 %3, 1
%5 = load i64, i64* %1
%6 = icmp slt i64 %5, 0
%7 = select i1 %4, i1 true, i1 %6
br i1 %7, label %22, label %8
8: ; preds = %0, %16
%9 = phi i64 [ %19, %16 ], [ %5, %0 ]
%10 = icmp eq i64 %9, 1
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = mul nsw i64 %9, 25
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 %12)
br label %16
14: ; preds = %8
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %16
16: ; preds = %11, %14
%17 = call i32 @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64* %1)
%18 = icmp ne i32 %17, 1
%19 = load i64, i64* %1
%20 = icmp slt i64 %19, 0
%21 = select i1 %18, i1 true, i1 %20
br i1 %21, label %22, label %8
22: ; preds = %16, %0
ret i32 0
}