#include int main(){ int a=0,b=0,k=0,c=0; std::cin>>a>>b>>k>>c; std::cout << (k << 2) % 1000000007; }