import strutils, sequtils, sets let B = stdin.readLine.split.map parseInt for v in toSeq(1 .. 10).toSet - B.toSet: echo v