I would like to solve the challenge. The language of my preference is R. I am not sure how to receive input. On hackerrank coding window it says that
\"# En
I faced the similar issue for reading input in R in hackerrank . Then to use readLines i used following :
input<-file('stdin', 'r') x <- readLines(input, n=1)
If u again want to read another data y use same approach :
y <- readLines(input, n=1)