diff --git a/src/barcelona.py b/src/barcelona.py new file mode 100644 index 0000000..7cd5a62 --- /dev/null +++ b/src/barcelona.py @@ -0,0 +1,9 @@ +n, k = input().split() +a = input().split() +ind = a.index(k) +if ind == 0: + print("fyrst") +elif ind == 1: + print("naestfyrst") +else: + print(ind + 1, "fyrst") diff --git a/src/bergmal.kt b/src/bergmal.kt new file mode 100644 index 0000000..d9561a7 --- /dev/null +++ b/src/bergmal.kt @@ -0,0 +1,3 @@ +fun main() { + println(readLine()) +} diff --git a/src/bergmal.lua b/src/bergmal.lua new file mode 100644 index 0000000..eae1a1f --- /dev/null +++ b/src/bergmal.lua @@ -0,0 +1 @@ +print(io.read()) diff --git a/src/bergmal.py b/src/bergmal.py new file mode 100644 index 0000000..8475614 --- /dev/null +++ b/src/bergmal.py @@ -0,0 +1 @@ +print(input()) diff --git a/src/bergmal.rb b/src/bergmal.rb new file mode 100644 index 0000000..c600d25 --- /dev/null +++ b/src/bergmal.rb @@ -0,0 +1 @@ +puts gets