import strutils, sequtils, math let DS = stdin.readLine.split.map parseInt let flg = DS[0 ..< ^1].sum ["DEAD", "SURVIVED"][ int(DS[^1] == 1 or flg < 2)].echo