#include <iostream>
#include <cmath>
using namespace std;
int main() {
long long p, t; //задаём переменные давления и температуры воды
cin >> p >> t;
if((0 <= p && p < pow(10,10)) &&
(0 <= t && t <= 300) ||
(pow(10,10) <= p &&
p < pow(10,11)) &&
(0 <= t && t <= 600) ||
(pow(10,11) <= p &&
p <= pow(10,12)) &&
(0 <= t && t <= 1000))
cout << "Solid";
else if((pow(10,6) < p && p < pow(10,10)) &&
(300 < t && t <= 600))
cout << "Liquid";
else if((0 <= p &&
p <= pow(10,6)) &&
(300 < t && t <= 600) ||
(0 <= p && p <= pow(10,7)) &&
(600 < t && t <= 1000))
cout << "Vapor";
else if((pow(10,7) < p &&
p < pow(10,11)) &&
(600 < t && t <= 1000))
cout << "Supercritical water";
else {cout <<"not exist";}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWxvbmcgbG9uZyBwLCB0OyAvL9C30LDQtNCw0ZHQvCDQv9C10YDQtdC80LXQvdC90YvQtSDQtNCw0LLQu9C10L3QuNGPINC4INGC0LXQvNC/0LXRgNCw0YLRg9GA0Ysg0LLQvtC00YsKCWNpbiA+PiBwID4+IHQ7CglpZigoMCA8PSBwICYmIHAgPCBwb3coMTAsMTApKSAmJgoJCSgwIDw9IHQgJiYgdCA8PSAzMDApIHx8CgkJKHBvdygxMCwxMCkgPD0gcCAmJgoJCXAgPCBwb3coMTAsMTEpKSAmJgoJCSgwIDw9IHQgJiYgdCA8PSA2MDApIHx8IAoJCShwb3coMTAsMTEpIDw9IHAgJiYKCQlwIDw9IHBvdygxMCwxMikpICYmIAoJCSgwIDw9IHQgJiYgdCA8PSAxMDAwKSkKCQkgY291dCA8PCAiU29saWQiOwoJZWxzZSBpZigocG93KDEwLDYpIDwgcCAmJiBwIDwgcG93KDEwLDEwKSkgJiYKCQkoMzAwIDwgdCAmJiB0IDw9IDYwMCkpCgkJY291dCA8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