What is the output of the code block below?

 

tails <- c(TRUE, FALSE)
if (tails[1]) {
  if (tails[2]) {
    cat("You got 2 tails!")
  } else {
    cat("You got 1 tail.")
  }
} else {
  if (tails[2]) {
    cat("You got 1 tail.")
  } else {
    cat("You got 0 tails.")
  }
}