<reponame>saarthak24/competitive-programming
import fileinput

for line in fileinput.input():
    data = line.rstrip('\n').split(' ')

import fileinput

for line in fileinput.input():
    data = line.rstrip('\n').split(' ')