program ABC088C
    implicit none
    integer(8)::C(3,3),i,j,A(3)
    read*,C
    A(1)=C(1,1)+C(1,2)-2*C(1,3)
    A(2)=C(2,1)+C(2,2)-2*C(2,3)
    A(3)=C(3,1)+C(3,2)-2*C(3,3)
    if(A(1)==A(2).and.A(2)==A(3))then
        print'(A)',"Yes"
    else
        print'(A)',"No"
    end if
end program ABC088C
; ModuleID = 'FIRModule'
source_filename = "FIRModule"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"

@_QFEc = internal global [3 x [3 x i64]] undef
@_QQcl.a23cfb2ce591bb7d6ffb4f11ed0e74a1 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_6271/source.f\00"
@_QQcl.284129 = linkonce constant [3 x i8] c"(A)"
@_QQcl.596573 = linkonce constant [3 x i8] c"Yes"
@_QQcl.4E6F = linkonce constant [2 x i8] c"No"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

define void @_QQmain() local_unnamed_addr {
  %1 = alloca { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, align 8
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.a23cfb2ce591bb7d6ffb4f11ed0e74a1, i32 4)
  store ptr @_QFEc, ptr %1, align 8, !tbaa !3
  %.fca.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 1
  store i64 8, ptr %.fca.1.gep, align 8, !tbaa !3
  %.fca.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep, align 8, !tbaa !3
  %.fca.3.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 3
  store i8 2, ptr %.fca.3.gep, align 4, !tbaa !3
  %.fca.4.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 4
  store i8 10, ptr %.fca.4.gep, align 1, !tbaa !3
  %.fca.5.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep, align 2, !tbaa !3
  %.fca.6.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep, align 1, !tbaa !3
  %.fca.7.0.0.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 0
  store i64 1, ptr %.fca.7.0.0.gep, align 8, !tbaa !3
  %.fca.7.0.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 1
  store i64 3, ptr %.fca.7.0.1.gep, align 8, !tbaa !3
  %.fca.7.0.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 2
  store i64 8, ptr %.fca.7.0.2.gep, align 8, !tbaa !3
  %.fca.7.1.0.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 1, i64 0
  store i64 1, ptr %.fca.7.1.0.gep, align 8, !tbaa !3
  %.fca.7.1.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 1, i64 1
  store i64 3, ptr %.fca.7.1.1.gep, align 8, !tbaa !3
  %.fca.7.1.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 1, i64 2
  store i64 24, ptr %.fca.7.1.2.gep, align 8, !tbaa !3
  %3 = call i1 @_FortranAioInputDescriptor(ptr %2, ptr nonnull %1)
  %4 = call i32 @_FortranAioEndIoStatement(ptr %2)
  %5 = load i64, ptr @_QFEc, align 16, !tbaa !7
  %6 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 1, i64 0), align 8, !tbaa !7
  %7 = add i64 %6, %5
  %8 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 2, i64 0), align 16, !tbaa !7
  %9 = shl i64 %8, 1
  %10 = sub i64 %7, %9
  %11 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 0, i64 1), align 8, !tbaa !7
  %12 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 1, i64 1), align 16, !tbaa !7
  %13 = add i64 %12, %11
  %14 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 2, i64 1), align 8, !tbaa !7
  %15 = shl i64 %14, 1
  %16 = sub i64 %13, %15
  %17 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 0, i64 2), align 16, !tbaa !7
  %18 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 1, i64 2), align 8, !tbaa !7
  %19 = add i64 %18, %17
  %20 = load i64, ptr getelementptr inbounds ([3 x [3 x i64]], ptr @_QFEc, i64 0, i64 2, i64 2), align 16, !tbaa !7
  %21 = shl i64 %20, 1
  %22 = sub i64 %19, %21
  %23 = icmp eq i64 %10, %16
  %24 = icmp eq i64 %16, %22
  %25 = and i1 %23, %24
  br i1 %25, label %26, label %29

26:                                               ; preds = %0
  %27 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.284129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.a23cfb2ce591bb7d6ffb4f11ed0e74a1, i32 9)
  %28 = call i1 @_FortranAioOutputAscii(ptr %27, ptr nonnull @_QQcl.596573, i64 3)
  br label %32

29:                                               ; preds = %0
  %30 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.284129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.a23cfb2ce591bb7d6ffb4f11ed0e74a1, i32 11)
  %31 = call i1 @_FortranAioOutputAscii(ptr %30, ptr nonnull @_QQcl.4E6F, i64 2)
  br label %32

32:                                               ; preds = %26, %29
  %.sink = phi ptr [ %27, %26 ], [ %30, %29 ]
  %33 = call i32 @_FortranAioEndIoStatement(ptr %.sink)
  ret void
}

declare ptr @_FortranAioBeginExternalListInput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioInputDescriptor(ptr, ptr) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare ptr @_FortranAioBeginExternalFormattedOutput(ptr, i64, ptr, i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputAscii(ptr, ptr, i64) local_unnamed_addr

!llvm.module.flags = !{!0, !1, !2}

!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{!4, !4, i64 0}
!4 = !{!"descriptor member", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any data access", !5, i64 0}
