import sequtils,strutils,algorithm,math,sugar,macros,strformat template get*():string = stdin.readLine().strip() let n = get().parseInt() let A = get().split().map(parseInt) echo toSeq(1..n).sum() - A.sum()