fruits = ['りんご', 'いちご', 'みかん','メロン',
          'なし', 'ぶどう', 'もも', 'バナナ']

print(fruits[-1])
print(fruits[-3])