fork(1) download
  1. t = int(input())
  2. numbers = "0123456789"
  3. lower_case = "abcdefghijklmnopqrstuvwxyz"
  4. upper_case = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  5. special_characters = "!@#$%^&*()-+"
  6. for i in range(t):
  7. s = input().split()
  8. if len(s[0]) >= 10:
  9. for i in s[0][1:-1]:
  10. print(i)
  11.  
Success #stdin #stdout 0.02s 9388KB
stdin
3
#cookOff#P1
U@code4CHEFINA
gR3@tPWD
stdout
c
o
o
k
O
f
f
#
P
@
c
o
d
e
4
C
H
E
F
I
N