Arduino + MotorShield L298N + 4 Ping sensor Power question !

THanks man the thig with the motor really works :D. But with the power: Can i use the 1 battery 9V to power the arduino with the jack and 1 baterry 9V to power the shield directly in the same time ? or to use them individualy or to power the shield or the arduino. In either cases were to let the Jumer VIN or PWRIN ? sry i'm a hard head but i don't want to burn any of my parts. Thank you !