program atcoder
    implicit none
    integer :: i,j,n,k
    integer,allocatable,dimension(:) :: dp
    integer,allocatable,dimension(:) :: a
    read*,n,k
    allocate(dp(0:k+1))
    ! dp(i) := はじめ石がi個の時、先攻の人が勝てるかどうか
    allocate(a(n))
    read(*,*)(a(i),i=1,n)
    dp = 0
    do i = 0,k
        do j = 1,n
            if(i-a(j)>=0 .and. dp(i-a(j))==0)then
                !石がi個のとき、a[j]個取って相手が勝てない状態にできるなら勝てる
                dp(i) = 1
            endif
        enddo
    enddo
    if(dp(k)==1)then
        write(*,'(a)')"First"
    else
        write(*,'(a)')"Second"
    endif
    stop 
contains

end program atcoder

; 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"

@_QFEa.0 = internal unnamed_addr global ptr null
@_QFEdp.0 = internal unnamed_addr global ptr null
@_QFEdp.7 = internal unnamed_addr global i64 1
@_QFEdp.8 = internal unnamed_addr global i64 0
@_QQcl.6751d654818873c467fc15019e522c0c = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_5202/source.f\00"
@_QQcl.16373402fa3425c6e46827601abb88fa = linkonce constant [76 x i8] c"array left hand side must be allocated when the right hand side is a scalar\00"
@_QQcl.286129 = linkonce constant [3 x i8] c"(a)"
@_QQcl.4669727374 = linkonce constant [5 x i8] c"First"
@_QQcl.5365636F6E64 = linkonce constant [6 x i8] c"Second"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
define void @_QQmain() local_unnamed_addr #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.6751d654818873c467fc15019e522c0c, i32 6)
  %4 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %2, i32 4)
  %5 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %1, i32 4)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %3)
  %7 = load i32, ptr %1, align 4, !tbaa !3
  %8 = add i32 %7, 1
  %9 = call i32 @llvm.smax.i32(i32 %8, i32 -1)
  %10 = sext i32 %9 to i64
  %11 = add nsw i64 %10, 1
  %12 = shl nuw nsw i64 %11, 2
  %13 = call ptr @malloc(i64 %12)
  %14 = icmp eq i64 %11, 0
  %15 = zext i1 %14 to i64
  store ptr %13, ptr @_QFEdp.0, align 8, !tbaa !7
  store i64 %15, ptr @_QFEdp.7, align 8, !tbaa !7
  store i64 %11, ptr @_QFEdp.8, align 8, !tbaa !7
  %16 = load i32, ptr %2, align 4, !tbaa !3
  %17 = call i32 @llvm.smax.i32(i32 %16, i32 0)
  %18 = zext i32 %17 to i64
  %19 = shl nuw nsw i64 %18, 2
  %20 = call ptr @malloc(i64 %19)
  store ptr %20, ptr @_QFEa.0, align 8, !tbaa !7
  %21 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.6751d654818873c467fc15019e522c0c, i32 10)
  %22 = load i32, ptr %2, align 4, !tbaa !3
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %0
  %24 = zext i32 %22 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %25 = phi i64 [ %30, %.lr.ph ], [ 1, %.lr.ph.preheader ]
  %.unpack322 = load ptr, ptr @_QFEa.0, align 8, !tbaa !7
  %sext = shl i64 %25, 32
  %26 = ashr exact i64 %sext, 32
  %27 = add nsw i64 %26, -1
  %28 = getelementptr i32, ptr %.unpack322, i64 %27
  %29 = call i1 @_FortranAioInputInteger(ptr %21, ptr %28, i32 4)
  %30 = add nuw nsw i64 %25, 1
  %exitcond.not = icmp eq i64 %25, %24
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %0
  %31 = call i32 @_FortranAioEndIoStatement(ptr %21)
  %.unpack = load ptr, ptr @_QFEdp.0, align 8, !tbaa !7
  %.unpack260.unpack.unpack262 = load i64, ptr @_QFEdp.8, align 8, !tbaa !7
  %.not = icmp eq ptr %.unpack, null
  br i1 %.not, label %34, label %.preheader

.preheader:                                       ; preds = %._crit_edge
  %32 = icmp sgt i64 %.unpack260.unpack.unpack262, 0
  br i1 %32, label %.lr.ph334.preheader, label %.loopexit

.lr.ph334.preheader:                              ; preds = %.preheader
  %33 = shl nuw i64 %.unpack260.unpack.unpack262, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %.unpack, i8 0, i64 %33, i1 false), !tbaa !3
  br label %.loopexit

34:                                               ; preds = %._crit_edge
  %35 = call {} @_FortranAReportFatalUserError(ptr nonnull @_QQcl.16373402fa3425c6e46827601abb88fa, ptr nonnull @_QQcl.6751d654818873c467fc15019e522c0c, i32 11)
  %.unpack308.unpack.unpack = load i64, ptr @_QFEdp.7, align 8, !tbaa !7
  %36 = icmp eq i64 %.unpack260.unpack.unpack262, 0
  %37 = select i1 %36, i64 1, i64 %.unpack308.unpack.unpack
  store ptr null, ptr @_QFEdp.0, align 8, !tbaa !7
  store i64 %37, ptr @_QFEdp.7, align 8, !tbaa !7
  store i64 %.unpack260.unpack.unpack262, ptr @_QFEdp.8, align 8, !tbaa !7
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph334.preheader, %.preheader, %34
  %38 = load i32, ptr %1, align 4, !tbaa !3
  %39 = icmp sgt i32 %38, -1
  br i1 %39, label %.lr.ph339, label %.loopexit.._crit_edge340_crit_edge

.loopexit.._crit_edge340_crit_edge:               ; preds = %.loopexit
  %.unpack272.unpack.unpack.pre = load i64, ptr @_QFEdp.7, align 8, !tbaa !7
  br label %._crit_edge340

.lr.ph339:                                        ; preds = %.loopexit
  %40 = zext i32 %38 to i64
  %.unpack277 = load ptr, ptr @_QFEa.0, align 8
  %.unpack296.unpack.unpack = load i64, ptr @_QFEdp.7, align 8
  br label %41

41:                                               ; preds = %.lr.ph339, %._crit_edge337
  %indvars.iv343 = phi i64 [ 0, %.lr.ph339 ], [ %indvars.iv.next344, %._crit_edge337 ]
  %42 = load i32, ptr %2, align 4, !tbaa !3
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %.lr.ph336, label %._crit_edge337

.lr.ph336:                                        ; preds = %41
  %44 = zext i32 %42 to i64
  %45 = sub i64 %indvars.iv343, %.unpack296.unpack.unpack
  %46 = getelementptr i32, ptr %.unpack, i64 %45
  %47 = trunc i64 %indvars.iv343 to i32
  br label %48

48:                                               ; preds = %.lr.ph336, %61
  %indvars.iv = phi i64 [ 1, %.lr.ph336 ], [ %indvars.iv.next, %61 ]
  %49 = add nsw i64 %indvars.iv, -1
  %50 = getelementptr i32, ptr %.unpack277, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !3
  %52 = sub i32 %47, %51
  %53 = icmp sgt i32 %52, -1
  %54 = sext i32 %52 to i64
  %55 = sub i64 %54, %.unpack296.unpack.unpack
  %56 = getelementptr i32, ptr %.unpack, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !3
  %58 = icmp eq i32 %57, 0
  %59 = and i1 %53, %58
  br i1 %59, label %60, label %61

60:                                               ; preds = %48
  store i32 1, ptr %46, align 4, !tbaa !3
  br label %61

61:                                               ; preds = %60, %48
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond342.not = icmp eq i64 %indvars.iv, %44
  br i1 %exitcond342.not, label %._crit_edge337, label %48

._crit_edge337:                                   ; preds = %61, %41
  %indvars.iv.next344 = add nuw nsw i64 %indvars.iv343, 1
  %exitcond346.not = icmp eq i64 %indvars.iv343, %40
  br i1 %exitcond346.not, label %._crit_edge340.loopexit, label %41

._crit_edge340.loopexit:                          ; preds = %._crit_edge337
  %.pre = load i32, ptr %1, align 4, !tbaa !3
  br label %._crit_edge340

._crit_edge340:                                   ; preds = %.loopexit.._crit_edge340_crit_edge, %._crit_edge340.loopexit
  %62 = phi i32 [ %38, %.loopexit.._crit_edge340_crit_edge ], [ %.pre, %._crit_edge340.loopexit ]
  %.unpack272.unpack.unpack = phi i64 [ %.unpack272.unpack.unpack.pre, %.loopexit.._crit_edge340_crit_edge ], [ %.unpack296.unpack.unpack, %._crit_edge340.loopexit ]
  %63 = sext i32 %62 to i64
  %64 = sub i64 %63, %.unpack272.unpack.unpack
  %65 = getelementptr i32, ptr %.unpack, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !3
  %67 = icmp eq i32 %66, 1
  %. = select i1 %67, i32 21, i32 23
  %.351 = select i1 %67, i64 5, i64 6
  %_QQcl.4669727374._QQcl.5365636F6E64 = select i1 %67, ptr @_QQcl.4669727374, ptr @_QQcl.5365636F6E64
  %68 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.6751d654818873c467fc15019e522c0c, i32 %.)
  %69 = call i1 @_FortranAioOutputAscii(ptr %68, ptr nonnull %_QQcl.4669727374._QQcl.5365636F6E64, i64 %.351)
  %70 = call i32 @_FortranAioEndIoStatement(ptr %68)
  %71 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable
}

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

declare i1 @_FortranAioInputInteger(ptr, ptr, i32) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare {} @_FortranAReportFatalUserError(ptr, ptr, i32) local_unnamed_addr

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

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

declare {} @_FortranAStopStatement(i32, i1, i1) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #1 = { noreturn }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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 = !{!"any data access", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
!7 = !{!8, !8, i64 0}
!8 = !{!"descriptor member", !5, i64 0}
